4 Commits

4 changed files with 13 additions and 17 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

View File

@@ -1,8 +1,12 @@
# Domain for n8n
DOMAIN=n8n.example.com
# Your timezone
GENERIC_TIMEZONE=Europe/Warsaw
# Directory where n8n will store files
PATH_TO_FILES=/path/to/n8n/files
# Domain for n8n
DOMAIN_NAME=mbuz.uk
SUBDOMAIN=automate
N8N_HOST=automate.mbuz.uk
N8N_PROTOCOL=https
# URL to webhook for the webhook triggers
WEBHOOK_URL=https://automate.mbuz.uk/
NODE_ENV=production

View File

@@ -5,13 +5,8 @@ services:
restart: unless-stopped
ports:
- 5678:5678
environment:
- N8N_HOST=${DOMAIN}
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://${DOMAIN}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
env_file:
- .env
volumes:
- n8n_data:/home/node/.n8n
- ${PATH_TO_FILES}:/files

View File

@@ -5,12 +5,8 @@ services:
restart: unless-stopped
ports:
- "3030:3000"
environment:
SEMAPHORE_DB_DIALECT: sqlite
SEMAPHORE_ADMIN: ${ADMIN_USER}
SEMAPHORE_ADMIN_PASSWORD: ${ADMIN_PASS}
SEMAPHORE_ADMIN_NAME: ${ADMIN_NAME}
SEMAPHORE_ADMIN_EMAIL: ${ADMIN_EMAIL}
env_file:
- .env
volumes:
- semaphore-data:/var/lib/semaphore
- semaphore-config:/etc/semaphore