lasthourcloud/templates/compose/n8n.yaml

24 lines
645 B
YAML
Raw Normal View History

2024-02-20 14:42:30 +00:00
# documentation: https://n8n.io
# slogan: n8n is an extendable workflow automation tool.
# tags: n8n,workflow,automation,open,source,low,code
2024-02-20 14:42:30 +00:00
# logo: svgs/n8n.png
2024-03-12 18:09:08 +00:00
# port: 5678
services:
n8n:
image: docker.n8n.io/n8nio/n8n
environment:
2024-03-12 18:09:08 +00:00
- SERVICE_FQDN_N8N_5678
- N8N_EDITOR_BASE_URL=${SERVICE_FQDN_N8N}
2023-11-07 11:50:18 +00:00
- WEBHOOK_URL=${SERVICE_FQDN_N8N}
- N8N_HOST=${SERVICE_URL_N8N}
2024-04-25 10:32:35 +00:00
- GENERIC_TIMEZONE=Europe/Berlin
- TZ=Europe/Berlin
volumes:
- n8n-data:/home/node/.n8n
healthcheck:
2024-05-17 08:11:55 +00:00
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5678/"]
interval: 5s
timeout: 20s
retries: 10