Skip to content

Commit 068ddcb

Browse files
authored
fix: add missing env var and refactor to use .env
1 parent 3ec7712 commit 068ddcb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +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}
9494
- API_WORKERS=${API_WORKERS}
95+
- FRONTEND_URL=${FRONTEND_URL}
9596
network_mode: host
9697

9798
volumes:

0 commit comments

Comments
 (0)