summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-08 12:42:28 -0600
committermo khan <mo@mokhan.ca>2025-05-08 12:42:28 -0600
commit52423eda4ad61eb4186988809e68439bd548fd79 (patch)
tree9ce83ac37b9b8b9e55cdb0cc3e738823cb13e164 /Makefile
parent5c57787f312597f8dcc61922da9428ca745eb067 (diff)
chore: bundle envoy with sparkle
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 2339b74..84114d6 100644
--- a/Makefile
+++ b/Makefile
@@ -36,14 +36,7 @@ run: clean build
@godotenv -f .env.local,.env ./sparkled
run-image: build-image
- @if [ -f ".env.local" ]; then \
- docker run --env BIND_ADDR=:http --env-file .env.local -p 8080:80 -it $(IMAGE_TAG); \
- else \
- docker run --env BIND_ADDR=:http --env-file .env -p 8080:80 -it $(IMAGE_TAG); \
- fi
-
-run-compose-up:
- @docker compose up
+ @docker run --env-file .env -p 10000:10000 -p 9901:9901 -p 8080:8080 -it $(IMAGE_TAG); \
sh-image: build-builder-image
@docker run -it $(IMAGE_TAG) /bin/sh
@@ -51,9 +44,3 @@ 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