bizMark/compose-workflow.yml

28 lines
861 B
YAML

# compose-workflow.yml
# https://git.bizmark.cloud/marc/bizMark.git
services:
n8n:
image: n8nio/n8n:latest
container_name: n8n
ports:
- "5678:5678" # Lokal
environment:
- GENERIC_TIMEZONE=Europe/Zurich
- TZ=Europe/Zurich
- N8N_HOST=workflow.bizmark.ch
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_EDITOR_BASE_URL=https://workflow.bizmark.ch
- N8N_TRUST_PROXY=true
- N8N_LOG_FILE_LOCATION=/opt/n8n-logs/n8n.log
- WEBHOOK_URL=https://workflow.bizmark.ch/
volumes:
- /opt/n8n/data:/home/node/.n8n
- /opt/n8n/logs:/opt/n8n-logs
- /var/run/docker.sock:/var/run/docker.sock # Docker-Socket mounten
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5678/healthz"]
interval: 30s
timeout: 10s
retries: 3