automation: add n8n alongside gotify
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
name: automation
|
||||
|
||||
services:
|
||||
gotify:
|
||||
image: gotify/server:latest
|
||||
@@ -13,6 +15,37 @@ services:
|
||||
- GOTIFY_DEFAULTUSER_ISADMIN=true
|
||||
ports:
|
||||
- 8443:80
|
||||
|
||||
n8n:
|
||||
image: n8nio/n8n:latest
|
||||
container_name: n8n
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5678:5678"
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
N8N_HOST: ${N8N_HOST}
|
||||
N8N_PORT: 5678
|
||||
N8N_PROTOCOL: https
|
||||
WEBHOOK_URL: https://${N8N_HOST}/
|
||||
N8N_ENCRYPTION_KEY: ${N8N_ENCRYPTION_KEY}
|
||||
DB_TYPE: postgresdb
|
||||
DB_POSTGRESDB_HOST: shared-postgres
|
||||
DB_POSTGRESDB_PORT: 5432
|
||||
DB_POSTGRESDB_DATABASE: n8n
|
||||
DB_POSTGRESDB_USER: n8n
|
||||
DB_POSTGRESDB_PASSWORD: ${N8N_DB_PASS}
|
||||
N8N_EMAIL_MODE: smtp
|
||||
EXECUTIONS_DATA_PRUNE: "true"
|
||||
EXECUTIONS_DATA_MAX_AGE: 336
|
||||
volumes:
|
||||
- /mnt/tank/docker/appdata/n8n:/home/node/.n8n
|
||||
networks:
|
||||
- pangolin
|
||||
- ix-databases_shared-databases
|
||||
|
||||
networks:
|
||||
pangolin:
|
||||
external: true
|
||||
ix-databases_shared-databases:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user