-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 808 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (33 loc) · 808 Bytes
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
version: '3.8'
services:
n8n:
build:
context: .
dockerfile: Dockerfile
image: insta-gist-n8n:latest
container_name: insta-gist-n8n
restart: unless-stopped
ports:
- "5678:5678"
environment:
- N8N_HOST=${N8N_HOST:-localhost}
- N8N_PORT=5678
- N8N_PROTOCOL=${N8N_PROTOCOL:-http}
- NODE_ENV=production
- WEBHOOK_URL=${WEBHOOK_URL:-http://localhost:5678}
- GENERIC_TIMEZONE=${TIMEZONE:-UTC}
# Uncomment to set execution mode
# - EXECUTIONS_MODE=queue
volumes:
# Persist n8n data
- n8n_data:/home/node/.n8n
# Temporary files (auto-cleanup)
- /tmp/insta-gist:/tmp/insta-gist
networks:
- n8n-network
volumes:
n8n_data:
driver: local
networks:
n8n-network:
driver: bridge