Skip to content

Commit 7e212d0

Browse files
author
sun
committed
feat(config): add redis environment variables fixed in docker compose yml
1 parent a15c796 commit 7e212d0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,13 @@ services:
5353
- COMPILEO_API_KEYS=${COMPILEO_API_KEYS}
5454
- CORS_ORIGINS=${CORS_ORIGINS}
5555
- LOG_LEVEL=${LOG_LEVEL}
56+
- REDIS_URL=redis://redis:6379/0
57+
- COMPILEO_REDIS_HOST=redis
58+
- COMPILEO_REDIS_PORT=6379
5659
- PYTHONPATH=/app:/home/compileo/.local/lib/python3.12/site-packages
5760
depends_on:
5861
- compileo-api
62+
- redis
5963
networks:
6064
- compileo-network
6165
restart: unless-stopped

0 commit comments

Comments
 (0)