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>
53 lines
2.3 KiB
YAML
53 lines
2.3 KiB
YAML
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}/
|
|
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
|