- New /host-upload page: per-host login (username + password) with session cookie, drag-and-drop file upload to Seafile via server proxy - Two upload targets: Episode Upload (audio) and Episode Info (docs) - Server route: /api/nuggets-upload/* for host auth + file proxy, /api/admin/nuggets-upload/hosts for admin CRUD (create/disable/reset pw/delete) - Admin panel: Nuggets → Upload Portal view to manage host accounts - Seafile config via SEAFILE_URL / SEAFILE_TOKEN / SEAFILE_NUGGETS_REPO_ID env vars - Directories default to /Episode Upload and /Episode Info (configurable) - Uses multer for multipart uploads; 500 MB per-file limit Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
844 B
YAML
22 lines
844 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
|
|
# Get SEAFILE_TOKEN from: Seafile → Profile → Settings → API Token → Generate
|
|
# Get SEAFILE_NUGGETS_REPO_ID from the URL when viewing the Nuggets library in Seafile
|
|
- SEAFILE_URL=https://seafile.necloud.us
|
|
- SEAFILE_TOKEN=your_seafile_api_token_here
|
|
- SEAFILE_NUGGETS_REPO_ID=your_repo_id_here
|
|
volumes:
|
|
- /media/ZimaOS-HD/AppData/siteforge/data:/app/data
|
|
restart: unless-stopped
|