n8n
All checks were successful
Deploy VM and App / terraform-ansible-deploy (push) Successful in 2m19s

This commit is contained in:
CC
2026-09-15 15:54:14 +01:00
parent 1e37f5e921
commit 8a31fbc9df
3 changed files with 41 additions and 3 deletions

View File

@@ -1 +1,18 @@
#Example .env for compose
#Example .env for compose
APP_NAME=n8n
APP_PORT=5678
# DOMAIN_NAME and SUBDOMAIN together determine where n8n will be reachable from
# The top level domain to serve from
DOMAIN_NAME=charcarservices.uk
# The subdomain to serve from
SUBDOMAIN=nein
# The above example serve n8n at: https://n8n.example.com
# Optional timezone to set which gets used by Cron and other scheduling nodes
# New York is the default value if not set
GENERIC_TIMEZONE=Europe/London
# The email address to use for the TLS/SSL certificate creation
SSL_EMAIL=user@example.com

View File

@@ -1 +1,22 @@
#Example for compose
services:
n8n:
image: docker.n8n.io/n8nio/n8n
restart: always
ports:
- "5678:5678"
environment:
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
- TZ=${GENERIC_TIMEZONE}
volumes:
- ./n8n:/home/node/.n8n
- ./local-files:/files
volumes:
n8n_data: