mirror of
https://github.com/DumbWareio/DumbDrop.git
synced 2025-10-22 23:31:57 +00:00
Chores & Configuration • Enhanced development setup: optimized Dockerfile, refined scripts, and improved .gitignore. • Updated docker-compose for better dev/prod separation. • Improved documentation in README and source files. Features & Enhancements • Refactored project structure with modular architecture. • Improved testing infrastructure and integration tests. • Enhanced file upload logic, client-side handling, and API routes. • Implemented robust server shutdown, rate limiting, and cleanup mechanisms. • Improved upload progress tracking with UI enhancements. • Strengthened security in PIN authentication and cookie handling. Refactors & Fixes • Cleaned up test infrastructure, logging, and error handling. • Simplified API route paths and improved middleware. • Fixed incorrect total storage size reporting. • Optimized logging verbosity based on environment. Documentation • Expanded project documentation and comments for clarity.
22 lines
1.5 KiB
YAML
22 lines
1.5 KiB
YAML
services:
|
|
dumbdrop:
|
|
image: dumbwareio/dumbdrop:latest
|
|
ports:
|
|
- 3000:3000
|
|
volumes:
|
|
# Replace "./local_uploads" ( before the colon ) with the path where the files land
|
|
- ./local_uploads:/app/uploads
|
|
environment: # Environment variables for the DumbDrop service
|
|
DUMBDROP_TITLE: DumbDrop # The title shown in the web interface
|
|
MAX_FILE_SIZE: 1024 # Maximum file size in MB
|
|
DUMBDROP_PIN: 123456 # Optional PIN protection (4-10 digits, leave empty to disable)
|
|
AUTO_UPLOAD: true # Upload without clicking button
|
|
|
|
# Additional available environment variables (commented out with defaults)
|
|
# PORT: 3000 # Server port (default: 3000)
|
|
# NODE_ENV: production # Node environment (development/production)
|
|
# DEBUG: false # Debug mode for verbose logging (default: false in production, true in development)
|
|
# APPRISE_URL: "" # Apprise notification URL for upload notifications (default: none)
|
|
# APPRISE_MESSAGE: "New file uploaded - {filename} ({size}), Storage used {storage}" # Notification message template with placeholders: {filename}, {size}, {storage}
|
|
# APPRISE_SIZE_UNIT: "Auto" # Size unit for notifications (B, KB, MB, GB, TB, or Auto)
|
|
# ALLOWED_EXTENSIONS: ".jpg,.jpeg,.png,.pdf,.doc,.docx,.txt" # Comma-separated list of allowed file extensions (default: all allowed) |