mirror of
https://github.com/marcogll/coolify-n8n-evo.git
synced 2026-01-13 13:25:17 +00:00
Update docker-compose.yaml
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Archivo: docker-compose.yml
|
# Archivo: docker-compose.yaml
|
||||||
# Version: 1.5 - Truly Clean
|
# Version: 1.6 - Final Syntax-Proof
|
||||||
# Descripción: Versión final sin NINGUNA variable de entorno hardcodeada,
|
# Descripción: Versión final con la sintaxis de montaje de volúmenes corregida
|
||||||
# dando control total a la interfaz de Coolify.
|
# para compatibilidad total con Coolify y Docker.
|
||||||
|
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
@@ -38,10 +38,8 @@ services:
|
|||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
container_name: shared_postgres_db
|
container_name: shared_postgres_db
|
||||||
restart: always
|
restart: always
|
||||||
# LA SECCIÓN 'environment' HA SIDO ELIMINADA DE AQUÍ.
|
|
||||||
# Coolify pasará las variables POSTGRES_* desde la UI.
|
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
# SINTAXIS CORREGIDA: Asegura que Coolify entienda esto como un montaje de archivo.
|
||||||
- ./init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
|
- ./init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||||
|
|||||||
Reference in New Issue
Block a user