Skip to content

Commit

Permalink
Link redis container via docker
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf committed Feb 13, 2024
1 parent f34cf14 commit caaea67
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ services:
- LISTEN_PORT=4000
ports:
- "4000:4000"
depends_on:
- redis
links:
- redis:redis

worker:
build:
Expand All @@ -38,8 +38,9 @@ services:
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
- FLASK_ENV=development
links:
- redis:redis
depends_on:
- aggregation
- redis

dashboard:
Expand All @@ -52,8 +53,9 @@ services:
- APP_SETTINGS=project.server.config.DevelopmentConfig
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
links:
- redis:redis
depends_on:
- aggregation
- redis
- worker

Expand Down

0 comments on commit caaea67

Please sign in to comment.