Update compose.yaml

This commit is contained in:
2026-07-21 08:32:17 +02:00
parent e07471cb98
commit 0f6d59e8d9
+13 -11
View File
@@ -22,14 +22,11 @@ services:
- TOKEN=Dj-xnGfioO4x2UcAS72ipxRzhP9PSJUS6F8R66vI2WQ - TOKEN=Dj-xnGfioO4x2UcAS72ipxRzhP9PSJUS6F8R66vI2WQ
volumes:
db_storage:
n8n_storage:
services:
postgres: postgres:
image: postgres:16 image: postgres:16
restart: always restart: always
networks:
- braig-local
environment: environment:
- POSTGRES_USER - POSTGRES_USER
- POSTGRES_PASSWORD - POSTGRES_PASSWORD
@@ -54,14 +51,14 @@ services:
- DB_TYPE=postgresdb - DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=n8n - DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
- DB_POSTGRESDB_USER=tobi - DB_POSTGRESDB_USER=${POSTGRES_NON_ROOT_USER}
- DB_POSTGRESDB_PASSWORD=${POSTGRES_NON_ROOT_PASSWORD} - DB_POSTGRESDB_PASSWORD=${POSTGRES_NON_ROOT_PASSWORD}
- N8N_RUNNERS_MODE=external - N8N_RUNNERS_MODE=external
- N8N_RUNNERS_AUTH_TOKEN=${RUNNERS_AUTH_TOKEN} - N8N_RUNNERS_AUTH_TOKEN=${RUNNERS_AUTH_TOKEN}
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0 - N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
# ports: ports:
# - 5678:5678 - 5678:5678
links: links:
- postgres - postgres
volumes: volumes:
@@ -72,15 +69,20 @@ services:
n8n-runner: n8n-runner:
image: n8nio/runners:${N8N_VERSION} image: n8nio/runners:${N8N_VERSION}
networks:
- braig-local
restart: always restart: always
environment: environment:
- N8N_RUNNERS_AUTH_TOKEN=${RUNNERS_AUTH_TOKEN} - N8N_RUNNERS_AUTH_TOKEN=${RUNNERS_AUTH_TOKEN}
- N8N_RUNNERS_TASK_BROKER_URI=http://n8n:5679 - N8N_RUNNERS_TASK_BROKER_URI=http://n8n:5679
networks:
- bragi-local
depends_on: depends_on:
- n8n - n8n
volumes:
db_storage:
n8n_storage:
networks: networks:
bragi-local: bragi-local:
external: true external: true