feat: add Scrapy, n8n, and Filestash stacks to Falcon
Added three new service stacks to the docker-compose infrastructure:
- **Scrapy stack** (scrapy.pivoine.art):
- scrapyd: Web scraping daemon with web interface (port 6800)
- scrapy: Development container for spider commands
- scrapyrt: Real-time API for running spiders (port 9080)
- **n8n stack** (n8n.pivoine.art):
- Workflow automation platform with PostgreSQL backend
- 200+ integrations for automated tasks
- Runners enabled for task execution
- Webhook support for external triggers
- **Filestash stack** (stash.pivoine.art):
- Web-based file manager with multi-backend support
- Supports SFTP, S3, Dropbox, Google Drive, FTP, WebDAV
- In-browser file viewing and media playback
Infrastructure updates:
- Updated PostgreSQL init script to create n8n database
- Added environment variables to arty.yml for all three stacks
- Updated compose.yaml include list
- Updated CLAUDE.md and README.md documentation
- Normalized service names in existing stacks (gotify, proxy, umami, vpn)
All services integrated with Traefik for SSL termination and include
Watchtower auto-update labels.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 22:36:13 +01:00
|
|
|
services:
|
|
|
|
|
n8n:
|
|
|
|
|
image: ${N8N_IMAGE:-docker.n8n.io/n8nio/n8n}
|
|
|
|
|
container_name: ${N8N_COMPOSE_PROJECT_NAME}_app
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "${N8N_PORT:-5678}:5678"
|
|
|
|
|
volumes:
|
|
|
|
|
- n8n_data:/home/node/.n8n
|
|
|
|
|
environment:
|
|
|
|
|
TZ: ${TIMEZONE:-Europe/Berlin}
|
|
|
|
|
GENERIC_TIMEZONE: ${TIMEZONE:-Europe/Berlin}
|
|
|
|
|
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS: "true"
|
|
|
|
|
N8N_RUNNERS_ENABLED: "true"
|
|
|
|
|
DB_TYPE: postgresdb
|
|
|
|
|
DB_POSTGRESDB_DATABASE: ${N8N_DB_NAME}
|
|
|
|
|
DB_POSTGRESDB_HOST: ${CORE_DB_HOST}
|
|
|
|
|
DB_POSTGRESDB_PORT: ${CORE_DB_PORT}
|
|
|
|
|
DB_POSTGRESDB_USER: ${DB_USER}
|
|
|
|
|
DB_POSTGRESDB_PASSWORD: ${DB_PASSWORD}
|
|
|
|
|
DB_POSTGRESDB_SCHEMA: ${N8N_DB_SCHEMA:-public}
|
|
|
|
|
N8N_HOST: ${N8N_TRAEFIK_HOST}
|
|
|
|
|
N8N_PORT: 5678
|
|
|
|
|
N8N_PROTOCOL: https
|
|
|
|
|
WEBHOOK_URL: https://${N8N_TRAEFIK_HOST}/
|
feat: configure SMTP email notifications across all services
Added comprehensive email configuration to enable notifications for
password resets, user invitations, system alerts, and backup failures.
**Services configured:**
- **Vaultwarden** (vault/compose.yaml):
- SMTP settings for password resets, 2FA, emergency access emails
- Uses IONOS SMTP with force_tls security
- Sender: hi@pivoine.art
- **Linkwarden** (links/compose.yaml):
- Email server configuration for user invitations
- Password reset functionality via email
- Uses smtp:// connection string format
- **n8n** (n8n/compose.yaml):
- SMTP mode enabled for workflow notifications
- User invitation emails
- Password reset support
- SSL-secured connection
- **Netdata** (netdata/compose.yaml, health_alarm_notify.conf, msmtprc):
- Health alarm notifications via email
- MSMTP configuration for sending alerts
- Notifications sent to valknar@pivoine.art
- Alerts for system issues, resource exhaustion, service failures
**Common SMTP settings** (from .env):
- Provider: IONOS (smtp.ionos.de:465)
- From address: hi@pivoine.art
- Transport: SMTP with TLS/SSL
- Admin email: valknar@pivoine.art
**Backrest notifications:**
- Configured via web UI at restic.pivoine.art
- Supports webhooks to Gotify for push notifications
- Email notifications can be added through UI settings
All services now have proper email notification capabilities for
improved monitoring, user management, and security features.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 19:23:56 +01:00
|
|
|
N8N_EMAIL_MODE: smtp
|
|
|
|
|
N8N_SMTP_HOST: ${EMAIL_SMTP_HOST}
|
|
|
|
|
N8N_SMTP_PORT: ${EMAIL_SMTP_PORT}
|
|
|
|
|
N8N_SMTP_USER: ${EMAIL_SMTP_USER}
|
|
|
|
|
N8N_SMTP_PASS: ${EMAIL_SMTP_PASSWORD}
|
|
|
|
|
N8N_SMTP_SENDER: ${EMAIL_FROM}
|
|
|
|
|
N8N_SMTP_SSL: "true"
|
feat: add Scrapy, n8n, and Filestash stacks to Falcon
Added three new service stacks to the docker-compose infrastructure:
- **Scrapy stack** (scrapy.pivoine.art):
- scrapyd: Web scraping daemon with web interface (port 6800)
- scrapy: Development container for spider commands
- scrapyrt: Real-time API for running spiders (port 9080)
- **n8n stack** (n8n.pivoine.art):
- Workflow automation platform with PostgreSQL backend
- 200+ integrations for automated tasks
- Runners enabled for task execution
- Webhook support for external triggers
- **Filestash stack** (stash.pivoine.art):
- Web-based file manager with multi-backend support
- Supports SFTP, S3, Dropbox, Google Drive, FTP, WebDAV
- In-browser file viewing and media playback
Infrastructure updates:
- Updated PostgreSQL init script to create n8n database
- Added environment variables to arty.yml for all three stacks
- Updated compose.yaml include list
- Updated CLAUDE.md and README.md documentation
- Normalized service names in existing stacks (gotify, proxy, umami, vpn)
All services integrated with Traefik for SSL termination and include
Watchtower auto-update labels.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 22:36:13 +01:00
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
networks:
|
|
|
|
|
- compose_network
|
|
|
|
|
labels:
|
|
|
|
|
- 'traefik.enable=${N8N_TRAEFIK_ENABLED}'
|
|
|
|
|
- 'traefik.http.middlewares.${N8N_COMPOSE_PROJECT_NAME}-n8n-redirect-web-secure.redirectscheme.scheme=https'
|
|
|
|
|
- 'traefik.http.routers.${N8N_COMPOSE_PROJECT_NAME}-n8n-web.middlewares=${N8N_COMPOSE_PROJECT_NAME}-n8n-redirect-web-secure'
|
|
|
|
|
- 'traefik.http.routers.${N8N_COMPOSE_PROJECT_NAME}-n8n-web.rule=Host(`${N8N_TRAEFIK_HOST}`)'
|
|
|
|
|
- 'traefik.http.routers.${N8N_COMPOSE_PROJECT_NAME}-n8n-web.entrypoints=web'
|
|
|
|
|
- 'traefik.http.routers.${N8N_COMPOSE_PROJECT_NAME}-n8n-web-secure.rule=Host(`${N8N_TRAEFIK_HOST}`)'
|
|
|
|
|
- 'traefik.http.routers.${N8N_COMPOSE_PROJECT_NAME}-n8n-web-secure.tls.certresolver=resolver'
|
|
|
|
|
- 'traefik.http.routers.${N8N_COMPOSE_PROJECT_NAME}-n8n-web-secure.entrypoints=web-secure'
|
|
|
|
|
- 'traefik.http.middlewares.${N8N_COMPOSE_PROJECT_NAME}-n8n-web-secure-compress.compress=true'
|
|
|
|
|
- 'traefik.http.routers.${N8N_COMPOSE_PROJECT_NAME}-n8n-web-secure.middlewares=${N8N_COMPOSE_PROJECT_NAME}-n8n-web-secure-compress'
|
|
|
|
|
- 'traefik.http.services.${N8N_COMPOSE_PROJECT_NAME}-n8n-web-secure.loadbalancer.server.port=5678'
|
|
|
|
|
- 'traefik.docker.network=${NETWORK_NAME}'
|
|
|
|
|
- 'com.centurylinklabs.watchtower.enable=${WATCHTOWER_LABEL_ENABLE}'
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
n8n_data:
|
|
|
|
|
name: ${N8N_COMPOSE_PROJECT_NAME}_n8n_data
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
compose_network:
|
|
|
|
|
name: ${NETWORK_NAME}
|
|
|
|
|
external: true
|