Initial cleanup and adding of new celery task

This commit is contained in:
Natalia
2023-05-05 17:56:27 -03:00
parent 6f06ed54b6
commit 1aecc94521
34 changed files with 239 additions and 158 deletions

View File

@@ -43,6 +43,54 @@ services:
- ../website2022/:/website
stop_signal: SIGKILL
celery-worker:
build:
context: .
dockerfile: docker/Dockerfile
command:
[
"celery",
"-A",
"config",
"worker",
"--concurrency=10",
"--loglevel=debug"
]
env_file:
- .env
depends_on:
- db
- redis
networks:
- backend
volumes:
- .:/code
stop_signal: SIGKILL
celery-beat:
build:
context: .
dockerfile: docker/Dockerfile
command:
[
"celery",
"-A",
"config",
"beat",
"--loglevel=debug"
]
env_file:
- .env
depends_on:
- db
- redis
networks:
- backend
volumes:
- .:/code
stop_signal: SIGKILL
networks:
backend:
frontend: