This commit is contained in:
Eduardo David Paredes Vara
2025-12-03 13:18:43 +00:00
parent 4afd9a99fa
commit 157a30eab4

View File

@@ -2,6 +2,7 @@ services:
n8n: n8n:
image: n8nio/n8n:latest image: n8nio/n8n:latest
restart: unless-stopped restart: unless-stopped
container_name: n8n
environment: environment:
- DB_TYPE=${N8N_DB_TYPE} - DB_TYPE=${N8N_DB_TYPE}
- DB_POSTGRESDB_HOST=${N8N_DB_HOST} - DB_POSTGRESDB_HOST=${N8N_DB_HOST}
@@ -50,6 +51,7 @@ services:
n8n-db: n8n-db:
image: postgres:16 image: postgres:16
container_name: n8n-pg
restart: unless-stopped restart: unless-stopped
environment: environment:
- POSTGRES_USER=${POSTGRES_USER} - POSTGRES_USER=${POSTGRES_USER}
@@ -66,3 +68,4 @@ networks:
n8n: n8n:
driver: bridge driver: bridge