39 lines
821 B
YAML
39 lines
821 B
YAML
---
|
|
|
|
# n8n
|
|
# Event Automation
|
|
# Created by <APP_CREATOR_NAME>
|
|
# ↳ https://github.com/n8n-io/n8n
|
|
|
|
services:
|
|
n8n:
|
|
image: docker.n8n.io/n8nio/n8n:latest
|
|
container_name: n8n
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
- proxy
|
|
# ports:
|
|
# - 5678:5678
|
|
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
N8N_HOST: ${SUBDOMAIN}.${DOMAIN_NAME}
|
|
N8N_PORT: 5678
|
|
N8N_PROTOCOL: https
|
|
NODE_ENV: production
|
|
WEBHOOK_URL: https://${SUBDOMAIN}.${DOMAIN_NAME}/
|
|
GENERIC_TIMEZONE: ${GENERIC_TIMEZONE}
|
|
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /home/fxequals/docker/n8n/data:/home/node/.n8n
|
|
- /home/fxequals/docker/n8n/files:/files
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
|
|
# Documentation available at https://docs.n8n.io/ |