forked from ehcaning/proxmox-docker-iac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathn8n-cloudflared.yml
43 lines (40 loc) · 862 Bytes
/
n8n-cloudflared.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
volumes:
n8n_data:
networks:
n8n-network:
name: n8n-network
services:
n8n:
image: docker.n8n.io/n8nio/n8n
container_name: n8n
restart: unless-stopped
networks:
- n8n-network
ports:
- "5678:5678"
environment:
- N8N_HOST=n8n.ehcan.me
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://n8n.ehcan.me
- GENERIC_TIMEZONE=Europe/Berlin
- N8N_DIAGNOSTICS_ENABLED=false
volumes:
- n8n_data:/home/node/.n8n
cloudflared:
container_name: n8n-cloudflared
image: cloudflare/cloudflared:latest
networks:
- n8n-network
environment:
TZ: Europe/Berlin
command:
[
"tunnel",
"--no-autoupdate",
"run",
"--token",
"${CLOUDFLARED_TOKEN}"
]
restart: unless-stopped