Skip to content

Commit

Permalink
Fix redis container
Browse files Browse the repository at this point in the history
  • Loading branch information
smintank committed May 16, 2024
1 parent aa179c8 commit 1548b13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/kds_stroy/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,6 @@
TG_ADMIN_ID = os.getenv("TG_ADMIN_ID")


CELERY_BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
CELERY_BROKER_URL = 'redis://kds-stroy-redis-1:6379/0'
CELERY_RESULT_BACKEND = 'redis://kds-stroy-redis-1:6379/0'
CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = True
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ services:

redis:
image: redis:latest
container_name: kds-stroy-redis-1
restart: always

backend:
Expand Down

0 comments on commit 1548b13

Please sign in to comment.