Heuehneje commited on
Commit
a5f6c70
·
verified ·
1 Parent(s): 21ebc58

Upload docker-compose.yaml

Browse files
Files changed (1) hide show
  1. docker-compose.yaml +34 -0
docker-compose.yaml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+
3
+ n8n:
4
+ image: docker.n8n.io/n8nio/n8n
5
+ container_name: n8n
6
+ restart: always
7
+ ports:
8
+ - 5678:5678
9
+ environment:
10
+ - N8N_HOST=domain
11
+ - N8N_PORT=5678
12
+ - N8N_PROTOCOL=https
13
+ - NODE_ENV=production
14
+ - WEBHOOK_URL=https://domain/
15
+ - GENERIC_TIMEZONE=America/Los_Angeles
16
+ volumes:
17
+ - n8n_data:/home/node/.n8n
18
+ - /home/matt/n8n/local_files:/files
19
+ labels:
20
+ - "traefik.enable=true"
21
+ - "traefik.http.routers.n8n.rule=Host(`domain`)"
22
+ - "traefik.http.routers.n8n.entrypoints=https, http"
23
+ - "traefik.http.routers.n8n.tls=true"
24
+ - "traefik.http.services.n8n.loadbalancer.server.port=5678"
25
+ networks:
26
+ - proxy
27
+
28
+ volumes:
29
+ n8n_data:
30
+ external: true
31
+
32
+ networks:
33
+ proxy:
34
+ external: true