Files
Docker-Compose/n8n/docker-compose.yml
MohandL3G 9cf711fc67 Normalize quoting and whitespace in compose files
Standardize formatting across multiple docker-compose.yml files: convert single quotes to double quotes for ports/args, fix inconsistent newlines at EOF, remove trailing spaces and stray blank lines, and tidy comments. Reformat ListSync healthcheck into a YAML sequence for clarity. Remove the obsolete Immich/docker-compose.yml.old file. These are non-functional cleanup changes to improve consistency and readability.
2026-02-12 20:44:54 +02:00

59 lines
1.4 KiB
YAML

name: n8n
services:
db-n8n:
container_name: db-n8n
environment:
- POSTGRES_DB=n8n
- POSTGRES_PASSWORD=bigbearcasaos
- POSTGRES_USER=bigbearcasaos
hostname: db-n8n
healthcheck:
test:
- CMD-SHELL
- pg_isready -h localhost -U bigbearcasaos -d n8n
timeout: 5s
interval: 5s
retries: 10
image: postgres:18.1
restart: always
volumes:
- C:\Data\AppData\n8n\pgdata:/var/lib/postgresql
networks:
- default
n8n:
container_name: n8n
depends_on:
db-n8n:
condition: service_healthy
required: true
image: n8nio/n8n:latest
restart: always
ports:
- 5678:5678
environment:
- DB_POSTGRESDB_DATABASE=n8n
- DB_POSTGRESDB_HOST=db-n8n
- DB_POSTGRESDB_PASSWORD=bigbearcasaos
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_USER=bigbearcasaos
- DB_TYPE=postgresdb
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_HOST=n8n.mohandl3g.ly
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_RUNNERS_ENABLED=true
- NODE_ENV=production
- WEBHOOK_URL=https://n8n.mohandl3g.ly/
- GENERIC_TIMEZONE=Africa/Tripoli
- TZ=Africa/Tripoli
volumes:
- C:\Data\AppData\n8n\.n8n:/home/node/.n8n
- C:\Data\AppData\n8n\files:/files
networks:
- default
networks:
default:
name: n8n_default