diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-08 12:42:28 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-08 12:42:28 -0600 |
| commit | 52423eda4ad61eb4186988809e68439bd548fd79 (patch) | |
| tree | 9ce83ac37b9b8b9e55cdb0cc3e738823cb13e164 /Makefile | |
| parent | 5c57787f312597f8dcc61922da9428ca745eb067 (diff) | |
chore: bundle envoy with sparkle
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -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 |
