summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-02 11:30:55 -0600
committermo khan <mo@mokhan.ca>2025-05-08 12:06:47 -0600
commit5c57787f312597f8dcc61922da9428ca745eb067 (patch)
tree15a2d3d85a3a1d78e3c0a688a9cccb2e47207d64 /Makefile
parent3842a4135f265119e7d00ec0a7ce253df87f11c8 (diff)
chore: add envoy config and make targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b88b0ee..2339b74 100644
--- a/Makefile
+++ b/Makefile
@@ -51,3 +51,9 @@ sh-image: build-builder-image
tidy:
@go get -u ./...
@go mod tidy
+
+run-envoy:
+ @docker run --rm -it -v $(pwd)/envoy.yml:/envoy.yaml -v $(pwd)/log:/log -p 9901:9901 -p 10000:10000 envoyproxy/envoy:v1.33-latest -c /envoy.yaml --log-path log/envoy.log
+
+validate-envoy:
+ @docker run --rm -it -v $(pwd)/envoy.yml:/envoy.yaml -p 9901:9901 -p 10000:10000 envoyproxy/envoy:v1.33-latest --mode validate -c /envoy.yaml