diff --git a/compose_n8n.yaml b/compose_n8n.yaml new file mode 100644 index 0000000..7586a6d --- /dev/null +++ b/compose_n8n.yaml @@ -0,0 +1,25 @@ +version: "3.8" + +services: + # ------------------- + # n8n + # ------------------- + n8n: + image: n8nio/n8n:latest + container_name: n8n + ports: + - "5678:5678" # Lokal + environment: + - GENERIC_TIMEZONE=Europe/Zurich + - TZ=Europe/Zurich + - PUID=1000 + - PGID=1000 + - N8N_HOST=workflow.bizmark.ch + - N8N_PORT=5678 + - N8N_PROTOCOL=https + - 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