mirror of
https://github.com/marcogll/coolify-n8n-evo.git
synced 2026-01-13 21:35:18 +00:00
Update docker-compose.yaml
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Archivo: docker-compose.yaml
|
# Archivo: docker-compose.yaml
|
||||||
# Version: 2.0 - PRODUCTION READY
|
# Version: 2.0 - PRODUCTION READY
|
||||||
# Descripción: Versión final y estable con healthchecks restaurados.
|
# Descripción: Versión final y estable con todas las correcciones de sintaxis.
|
||||||
|
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ services:
|
|||||||
- n8n_data:/home/node/.n8n
|
- n8n_data:/home/node/.n8n
|
||||||
depends_on:
|
depends_on:
|
||||||
pg_database:
|
pg_database:
|
||||||
condition: service_healthy # Vuelve a esperar a que esté saludable
|
condition: service_healthy
|
||||||
|
|
||||||
evolution_api:
|
evolution_api:
|
||||||
image: atendai/evolution-api:latest
|
image: atendai/evolution-api:latest
|
||||||
@@ -22,9 +22,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- evolution_instances:/evolution/instances
|
- evolution_instances:/evolution/instances
|
||||||
depends_on:
|
depends_on:
|
||||||
redis_cache: {}
|
redis_cache:
|
||||||
|
condition: service_started
|
||||||
pg_database:
|
pg_database:
|
||||||
condition: service_healthy # Vuelve a esperar a que esté saludable
|
condition: service_healthy
|
||||||
|
|
||||||
pg_database:
|
pg_database:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
@@ -32,7 +33,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
|
- ./init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
|
||||||
healthcheck: # Healthcheck restaurado
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
@@ -48,6 +49,10 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
n8n_data:
|
n8n_data:
|
||||||
|
driver: local
|
||||||
evolution_instances:
|
evolution_instances:
|
||||||
|
driver: local
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
driver: local
|
||||||
evolution_redis:
|
evolution_redis:
|
||||||
|
driver: local
|
||||||
|
|||||||
Reference in New Issue
Block a user