5 Commits

Author SHA1 Message Date
3wc
b77d1c7aa4 Update to latest n8n 2025-01-22 12:43:35 -05:00
9fbb37b8d7 Add SMTP variable support 2024-06-25 16:34:35 -07:00
635dd8c119 Update latest version 2024-06-25 16:22:18 -07:00
f1ef01cc2c Add some environment variables 2024-04-16 10:21:41 -07:00
20eda6a1a2 Bump version to latest upstream 2024-04-16 10:07:28 -07:00
5 changed files with 40 additions and 3 deletions

View File

@ -33,7 +33,7 @@ steps:
from_secret: drone_abra-bot_token
fork: true
repositories:
- toolshed/auto-recipes-catalogue-json
- coop-cloud/auto-recipes-catalogue-json
trigger:
event: tag

View File

@ -33,3 +33,17 @@ COMPOSE_FILE="compose.yml"
# Use Postgres instead of SQLite
#COMPOSE_FILE="$COMPOSE_FILE:compose.postgres.yml"
#SECRET_DB_PASSWORD_VERSION=v1
#
#
# Enable SMTP
#
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml
#SECRET_SMTP_PASSWORD_VERSION=v1
#N8N_SMTP_HOST
#N8N_SMTP_PORT
#N8N_SMTP_USER
#N8N_SMTP_PASS
#N8N_SMTP_SENDER
#N8N_SMTP_SSL

21
compose.smtp.yml Normal file
View File

@ -0,0 +1,21 @@
---
version: "3.8"
services:
app:
secrets:
- smtp_password
environment:
- N8N_SMTP_HOST
- N8N_SMTP_PORT
- N8N_SMTP_USER
- N8N_SMTP_PASS_FILE=/run/secrets/smtp_password
- N8N_SMTP_SENDER
- N8N_SMTP_SSL
secrets:
smtp_password:
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
external: true

View File

@ -3,13 +3,15 @@ version: '3.8'
services:
app:
image: n8nio/n8n:1.81.2
image: n8nio/n8n:1.76.0
environment:
- N8N_PERSONALIZATION_ENABLED
- N8N_DIAGNOSTICS_ENABLED
- N8N_USER_MANAGEMENT_DISABLED
- N8N_BASIC_AUTH_ACTIVE=false
- WEBHOOK_URL=https://${DOMAIN}
- N8N_EDITOR_BASE_URL=https://${DOMAIN}
- N8N_HIRING_BANNER_ENABLED=false
- NODE_FUNCTION_ALLOW_EXTERNAL=moment
networks:
- proxy
@ -30,7 +32,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=1.0.0+1.81.2"
- "coop-cloud.${STACK_NAME}.version=0.7.0+0.237.0"
- "backupbot.backup=true"
- "backupbot.backup.path=/home/node/.n8n"