mirror of
https://github.com/technovangelist/videoprojects.git
synced 2026-09-10 07:16:19 -04:00
n8n install
Signed-off-by: Matt Williams <m@technovangelist.com>
This commit is contained in:
parent
2dd82eb1d8
commit
f4809257a8
34
2024-10-25-n8ninstall/cloud-docker-compose.yaml
Normal file
34
2024-10-25-n8ninstall/cloud-docker-compose.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
services:
|
||||
|
||||
n8n:
|
||||
image: docker.n8n.io/n8nio/n8n
|
||||
container_name: n8n
|
||||
restart: always
|
||||
ports:
|
||||
- 5678:5678
|
||||
environment:
|
||||
- N8N_HOST=domain
|
||||
- N8N_PORT=5678
|
||||
- N8N_PROTOCOL=https
|
||||
- NODE_ENV=production
|
||||
- WEBHOOK_URL=https://domain/
|
||||
- GENERIC_TIMEZONE=America/Los_Angeles
|
||||
volumes:
|
||||
- n8n_data:/home/node/.n8n
|
||||
- /home/matt/n8n/local_files:/files
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.n8n.rule=Host(`domain`)"
|
||||
- "traefik.http.routers.n8n.entrypoints=https, http"
|
||||
- "traefik.http.routers.n8n.tls=true"
|
||||
- "traefik.http.services.n8n.loadbalancer.server.port=5678"
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
||||
external: true
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
16
2024-10-25-n8ninstall/docker-compose.yml
Normal file
16
2024-10-25-n8ninstall/docker-compose.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
services:
|
||||
n8n:
|
||||
image: docker.n8n.io/n8nio/n8n
|
||||
container_name: n8n
|
||||
restart: always
|
||||
ports:
|
||||
- 5678:5678
|
||||
environment:
|
||||
- N8N_HOST=localhost
|
||||
- N8N_PORT=5678
|
||||
- WEBHOOK_URL=http://localhost/
|
||||
volumes:
|
||||
- n8n_data:/home/node/.n8n
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
||||
Loading…
Reference in a new issue