Compare commits
7 commits
d2f142ee3d
...
3ab735f835
Author | SHA1 | Date | |
---|---|---|---|
3ab735f835 | |||
f87109e858 | |||
521d98f4ca | |||
5593b93f4c | |||
b47224d2ae | |||
2c15021962 | |||
6403cba0ac |
3 changed files with 62 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
FROM n8nio/n8n:0.108.0
|
||||
FROM n8nio/n8n:0.210.2-debian
|
||||
# FROM n8nio/n8n:0.195.5-debian
|
||||
|
||||
|
||||
|
|
33
README.md
33
README.md
|
@ -1,4 +1,37 @@
|
|||
|
||||
# Dokku setup
|
||||
|
||||
ssh dokku@danaos.infra.glenux.net apps:create automation
|
||||
$ dokku config:set --no-restart N8N_HOST=automation.danaos.apps.glenux.net
|
||||
$ dokku config:set --no-restart N8N_PORT=443
|
||||
$ dokku config:set --no-restart N8N_PROTOCOL=https
|
||||
$ dokku config:set --no-restart NODE_ENV=production
|
||||
$ dokku config:set --no-restart WEBHOOK_URL=https://automation.danaos.apps.glenux.net/
|
||||
$ dokku config:set --no-restart GENERIC_TIMEZONE=Europe/Paris
|
||||
dokku config:set --no-restart N8N_BASIC_AUTH_ACTIVE="true"
|
||||
dokku config:set --no-restart N8N_BASIC_AUTH_USER="admin"
|
||||
dokku config:set --no-restart N8N_BASIC_AUTH_PASSWORD="foobar123"
|
||||
dokku config:set --no-restart VUE_APP_URL_BASE_API=https://automation.danaos.apps.glenux.net/
|
||||
$ dokku config:set --no-restart EXECUTIONS_TIMEOUT=600
|
||||
$ dokku config:set --no-restart EXECUTIONS_TIMEOUT_MAX=1200
|
||||
$ dokku config:set --no-restart DB_TYPE=postgresdb
|
||||
$ dokku config:set --no-restart DB_POSTGRESDB_DATABASE=xxx
|
||||
$ dokku config:set --no-restart DB_POSTGRESDB_HOST=xxxx
|
||||
$ dokku config:set --no-restart DB_POSTGRESDB_PORT=xxxx
|
||||
$ dokku config:set --no-restart DB_POSTGRESDB_USER=xxxx
|
||||
$ dokku config:set --no-restart DB_POSTGRESDB_PASSWORD=xxxx
|
||||
N8N_USER_MANAGEMENT_DISABLED=false
|
||||
N8N_EMAIL_MODE=smtp
|
||||
N8N_SMTP_HOST=
|
||||
N8N_SMTP_PORT=
|
||||
N8N_SMTP_USER=
|
||||
N8N_SMTP_PASS=
|
||||
N8N_SMTP_SENDER
|
||||
N8N_SMTP_SSL=
|
||||
|
||||
|
||||
|
||||
|
||||
# Variables
|
||||
|
||||
# The port n8n should be made available on
|
||||
|
|
27
docker-compose.yml
Normal file
27
docker-compose.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
n8n:
|
||||
build: .
|
||||
image: glenux/service-n8n
|
||||
# restart: always
|
||||
ports:
|
||||
- "127.0.0.1:5678:5678"
|
||||
environment:
|
||||
- N8N_HOST=localhost
|
||||
- N8N_PORT=5678
|
||||
- N8N_PROTOCOL=http
|
||||
- NODE_ENV=production
|
||||
- WEBHOOK_URL=http://localhost:5678/
|
||||
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
|
||||
# - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
|
||||
# - N8N_BASIC_AUTH_ACTIVE=true
|
||||
# - N8N_BASIC_AUTH_USER
|
||||
# - N8N_BASIC_AUTH_PASSWORD
|
||||
# - N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
|
||||
volumes:
|
||||
- n8n_data:/home/node/.n8n
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
Loading…
Add table
Reference in a new issue