CORRECCIÓN: remover env_file de docker-compose para compatibilidad con Portainer
This commit is contained in:
@@ -5,8 +5,6 @@ services:
|
||||
build: .
|
||||
command: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --workers 3
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
# Django necesita escuchar en 0.0.0.0 (ya lo hace gunicorn)
|
||||
@@ -43,8 +41,6 @@ services:
|
||||
build: .
|
||||
command: celery -A config worker -l info --concurrency=2
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user