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
|
||||
# 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'
|
||||
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
- n8n_data:/home/node/.n8n
|
||||
depends_on:
|
||||
pg_database:
|
||||
condition: service_healthy # Vuelve a esperar a que esté saludable
|
||||
condition: service_healthy
|
||||
|
||||
evolution_api:
|
||||
image: atendai/evolution-api:latest
|
||||
@@ -22,9 +22,10 @@ services:
|
||||
volumes:
|
||||
- evolution_instances:/evolution/instances
|
||||
depends_on:
|
||||
redis_cache: {}
|
||||
redis_cache:
|
||||
condition: service_started
|
||||
pg_database:
|
||||
condition: service_healthy # Vuelve a esperar a que esté saludable
|
||||
condition: service_healthy
|
||||
|
||||
pg_database:
|
||||
image: postgres:16-alpine
|
||||
@@ -32,7 +33,7 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- ./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}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
@@ -48,6 +49,10 @@ services:
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
||||
driver: local
|
||||
evolution_instances:
|
||||
driver: local
|
||||
postgres_data:
|
||||
driver: local
|
||||
evolution_redis:
|
||||
driver: local
|
||||
|
||||
Reference in New Issue
Block a user