redis fixes

This commit is contained in:
msramalho
2023-02-25 13:19:42 +01:00
parent 570c0c2abe
commit 6b4dd9c0a9
5 changed files with 9 additions and 4 deletions

View File

@@ -31,6 +31,10 @@ services:
redis:
image: redis:6-alpine
command: redis-server /conf/redis.conf
volumes:
- "./redis/data:/data"
- "./redis/config:/conf"
restart: always
# DEV ONLY
ports:
@@ -39,7 +43,7 @@ services:
dashboard:
build: ./src
restart: always
command: flower --app=worker.celery --port=5555 --broker=redis://redis:6379/0
command: flower --app=worker.celery --port=5555 --broker=redis://redis:6379/0 --basic_auth=${FLOWER_USERNAME}:${FLOWER_PASSWORD}
ports:
- 5556:5555
environment: