Skip to content

Commit 9c9cadf

Browse files
Kyc0k3a60paatyrode
andauthored
fix: add missing environment variable (#61)
* Update docker-compose.yml maybe? * fix: add missing env var and refactor to use .env --------- Co-authored-by: Alex Tyrode <alex@tyrode.dev>
1 parent 5145cba commit 9c9cadf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,15 @@ services:
8484
- POSTGRES_DB=${POSTGRES_DB}
8585
- POSTGRES_HOST=localhost
8686
- POSTGRES_PORT=${POSTGRES_PORT}
87-
- REDIS_HOST=localhost
88-
- REDIS_PORT=6379
87+
- REDIS_HOST=${REDIS_HOST}
88+
- REDIS_PORT=${REDIS_PORT}
8989
- REDIS_PASSWORD=${REDIS_PASSWORD}
9090
- CODER_API_KEY=${CODER_API_KEY}
9191
- CODER_URL=http://localhost:${CODER_PORT}
9292
- CODER_TEMPLATE_ID=${CODER_TEMPLATE_ID}
9393
- CODER_DEFAULT_ORGANIZATION=${CODER_DEFAULT_ORGANIZATION}
94+
- API_WORKERS=${API_WORKERS}
95+
- FRONTEND_URL=${FRONTEND_URL}
9496
network_mode: host
9597

9698
volumes:

0 commit comments

Comments
 (0)