Fixed misc bugs

This commit is contained in:
2025-10-15 13:31:18 +13:00
parent 9f5a25fcf5
commit 7580dc3f94
13 changed files with 609 additions and 47 deletions
+8 -4
View File
@@ -6,11 +6,15 @@ services:
context: .
dockerfile: Dockerfile
container_name: bdfr-web-interface
# Note: user directive removed - container runs as user specified by orchestrator
# For TrueNAS: Set 'Custom User' in container settings
# For docker-compose: Uncomment and set user: "UID:GID" if needed
# user: "${PUID:-1000}:${PGID:-1000}"
ports:
- "8000:8000"
volumes:
# Downloads directory - all Reddit content goes here
- ./downloads:/downloads
- ./downloads:/app/downloads
# Database persistence - SQLite databases, scheduled tasks, and BDFR config
- ./data:/app/data
environment:
@@ -25,8 +29,8 @@ services:
- PORT=${PORT:-8000}
- DEBUG=${DEBUG:-false}
# Download Configuration
- BDFR_DOWNLOAD_DIR=/downloads
# Download Configuration (using /app/downloads for simplicity)
- BDFR_DOWNLOAD_DIR=/app/downloads
- BDFR_DATA_DIR=/app/data
# BDFR Configuration - stored in mounted data directory
@@ -54,4 +58,4 @@ networks:
# Uncomment to use named volumes instead of bind mounts
# volumes:
# downloads:
# data:
# data: