- Added a new API endpoint for transferring selected chapters to a specified directory, including error handling and feedback for users. - Introduced a new TitlePage component to display detailed information about a title and its chapters, including transfer options. - Updated routing logic to support navigation to individual title pages, improving user experience. - Refactored existing components to streamline state management and enhance modularity. - Enhanced UI elements for better interaction, including checkboxes for selecting chapters and improved error/success messaging.
28 lines
1.0 KiB
YAML
28 lines
1.0 KiB
YAML
services:
|
|
cxyz:
|
|
build: .
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
PORT: "3000"
|
|
DATA_DIR: /app/data
|
|
# Softlink destination for Transfer (default: $DATA_DIR/transfers).
|
|
# TRANSFER_DIR: /app/data/transfers
|
|
# Wake hourly; sync at most one due title per wake.
|
|
WATCH_CRON: "0 * * * *"
|
|
# Each title is eligible again after this many hours (daily).
|
|
WATCH_TITLE_INTERVAL_HOURS: "24"
|
|
# Shared login (optional). When AUTH_PASSWORD is set, the UI and /api require a session.
|
|
# AUTH_USERNAME: admin
|
|
# AUTH_PASSWORD: change-me
|
|
# SESSION_SECRET: long-random-string-at-least-32-chars
|
|
# SESSION_TTL_HOURS: "168"
|
|
# Cookie Secure: auto (default) follows http/https per request — use for WireGuard IP + public HTTPS.
|
|
# COOKIE_SECURE: auto
|
|
# Force: always | never (or true | false)
|
|
# Behind a TLS-terminating reverse proxy, keep TRUST_PROXY on so X-Forwarded-Proto is honored.
|
|
# TRUST_PROXY: "true"
|
|
volumes:
|
|
- ./data:/app/data
|
|
restart: unless-stopped
|