Redis Messaging implementation #30

Merged
williamp merged 2 commits from redis-messaging into testing 2023-04-16 14:44:42 +00:00
4 changed files with 42 additions and 18 deletions
Showing only changes of commit e46b1ef4b9 - Show all commits

View File

@@ -9,31 +9,43 @@ services:
- MYSQL_HOST=db - MYSQL_HOST=db
- MYSQL_PORT=3306 - MYSQL_PORT=3306
- MYSQL_DB=bellscheduler - MYSQL_DB=bellscheduler
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_DBNUM=0
- SECRET_KEY=notasecuresecretkeyonlyuseforlocaldevelopment - SECRET_KEY=notasecuresecretkeyonlyuseforlocaldevelopment
- NODE_NAME=local - NODE_NAME=local
- POD_NAME=local - POD_NAME=local
- FLASK_ENV=development - FLASK_ENV=development
- FLASK_DEBUG=1 - FLASK_DEBUG=1
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1
- SIGNUP_ENABLED=YES
ports: ports:
- 127.0.0.1:80:80 - 127.0.0.1:80:80
worker: worker:
image: container-registry.infra.dubyatp.xyz/bellscheduler/app:latest-testing image: container-registry.infra.dubyatp.xyz/bellscheduler/app:latest-testing
restart: always restart: always
entrypoint: python3 entrypoint: celery
command: "-m worker" command: "-A worker.celerymsg worker --loglevel=DEBUG -B"
environment: environment:
- MYSQL_USER=root - MYSQL_USER=root
- MYSQL_PASSWORD=notasecuresecretkeyonlyuseforlocaldevelopment - MYSQL_PASSWORD=notasecuresecretkeyonlyuseforlocaldevelopment
- MYSQL_HOST=db - MYSQL_HOST=db
- MYSQL_PORT=3306 - MYSQL_PORT=3306
- MYSQL_DB=bellscheduler - MYSQL_DB=bellscheduler
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_DBNUM=0
- SECRET_KEY=notasecuresecretkeyonlyuseforlocaldevelopment - SECRET_KEY=notasecuresecretkeyonlyuseforlocaldevelopment
- NODE_NAME=local - NODE_NAME=local
- POD_NAME=local - POD_NAME=local
- FLASK_ENV=development - FLASK_ENV=development
- FLASK_DEBUG=1 - FLASK_DEBUG=1
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1
redis:
image: redis:7.0.10-alpine3.17
restart: always
ports:
- 127.0.0.1:6379:6379
db: db:
image: mariadb:10.7.8-focal image: mariadb:10.7.8-focal
restart: always restart: always