FIX: formato de build explicito y version para compatibilidad con Portainer
This commit is contained in:
+11
-3
@@ -1,6 +1,10 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
command: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --workers 3
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
@@ -34,7 +38,9 @@ services:
|
||||
mem_limit: 512m
|
||||
|
||||
celery:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
command: celery -A config worker -l info --concurrency=2
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
@@ -46,7 +52,9 @@ services:
|
||||
mem_limit: 512m
|
||||
|
||||
tax-api:
|
||||
build: ./tax_api
|
||||
build:
|
||||
context: ./tax_api
|
||||
dockerfile: Dockerfile
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- internal
|
||||
|
||||
Reference in New Issue
Block a user