Atualizar compose.yml
This commit is contained in:
+19
@@ -19,6 +19,25 @@ services:
|
|||||||
- app
|
- app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
worker-default:
|
||||||
|
build: Dockerfile.worker
|
||||||
|
command: celery -A celery_app.celery worker -Q default --loglevel=INFO
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
- app
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
worker-admin:
|
||||||
|
build: Dockerfile.worker
|
||||||
|
command: celery -A celery_app.celery worker -Q admin --loglevel=INFO
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
- app
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
build: ./web
|
||||||
container_name: web
|
container_name: web
|
||||||
|
|||||||
Reference in New Issue
Block a user