Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
joshunrau committed Feb 25, 2024
1 parent c438171 commit 25b75e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
## ---------------------------------

# The domain name to use for your site in the production compose stack
SITE_ADDRESS=
SITE_ADDRESS=localhost:80
# The domain name to use for the gateway service in the production compose stack
GATEWAY_SITE_ADDRESS=
GATEWAY_SITE_ADDRESS=localhost:3500

# The ports to listen on
APP_PORT=5500
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
ports:
- ${APP_PORT}:80
environment:
- SITE_ADDRESS=${SITE_ADDRESS:-localhost:80}
- SITE_ADDRESS
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
Expand All @@ -25,7 +25,6 @@ services:
environment:
- ESBUILD_BINARY_PATH=dist/bin/esbuild
- GATEWAY_INTERNAL_NETWORK_URL=http://gateway:80
- GATEWAY_SITE_ADDRESS=${GATEWAY_SITE_ADDRESS:-localhost:3500}
- MONGO_REPLICA_SET=rs0
- MONGO_RETRY_WRITES=true
- MONGO_WRITE_CONCERN=majority
Expand All @@ -36,6 +35,7 @@ services:
- GATEWAY_API_KEY
- GATEWAY_ENABLED
- GATEWAY_REFRESH_INTERVAL
- GATEWAY_SITE_ADDRESS
- SECRET_KEY
- VERBOSE
expose:
Expand Down

0 comments on commit 25b75e7

Please sign in to comment.