Files
Siteforge/docker-compose.yml
T
nmemmertandClaude Sonnet 4.6 1e396644a9 Add upload email notifications with Seafile direct-upload watcher; v2.0.6
- Portal uploads send one email immediately (host, episode, passage,
  description, filenames) via Resend to NUGGETS_NOTIFY_EMAIL
- Seafile watcher polls /Episode Upload every 15 min for direct uploads
  and sends a notification for any new file not already seen via portal
- Files uploaded through the portal are marked seen so the watcher
  never sends a duplicate notification
- Credentials kept out of git: SEAFILE_TOKEN, SEAFILE_NUGGETS_REPO_ID,
  NUGGETS_NOTIFY_EMAIL now sourced from docker .env file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-08 13:54:46 -04:00

23 lines
876 B
YAML

services:
portfolio:
image: git.necloud.us/nate/siteforge:latest
pull_policy: always
container_name: siteforge-app
ports:
- "4173:4173"
environment:
- PORT=4173
- SITEFORGE_DATA_DIR=/app/data
- ADMIN_PASSWORD=`generate a random password and set it here`
- RESEND_API_KEY=`set your Resend API key here`
# Seafile integration for Nuggets host upload portal
# Set SEAFILE_TOKEN and SEAFILE_NUGGETS_REPO_ID in a .env file alongside this compose file
- SEAFILE_URL=https://seafile.necloud.us
- SEAFILE_TOKEN=${SEAFILE_TOKEN}
- SEAFILE_NUGGETS_REPO_ID=${SEAFILE_NUGGETS_REPO_ID}
# Upload notification email (defaults to RESEND_TO if not set)
- NUGGETS_NOTIFY_EMAIL=${NUGGETS_NOTIFY_EMAIL}
volumes:
- /media/ZimaOS-HD/AppData/siteforge/data:/app/data
restart: unless-stopped