diff --git a/compose-workflow.yml b/compose-workflow.yml index 0ee758e..db767ac 100644 --- a/compose-workflow.yml +++ b/compose-workflow.yml @@ -9,14 +9,20 @@ services: environment: - GENERIC_TIMEZONE=Europe/Zurich - TZ=Europe/Zurich - - PUID=1000 - - PGID=1000 - 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 \ No newline at end of file + restart: unless-stopped + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:5678/healthz"] + interval: 30s + timeout: 10s + retries: 3 \ No newline at end of file