mirror of
https://github.com/DumbWareio/DumbDrop.git
synced 2025-10-23 07:41:58 +00:00
- Introduce AUTO_UPLOAD environment variable to enable automatic file uploads - Update .env.example with new configuration options - Modify docker-compose.yml to use new image and comment out default settings - Update README.md to document AUTO_UPLOAD feature - Implement client-side auto upload logic in index.html - Add server-side logging for auto upload status chore: Refactor notification message template and size unit handling
16 lines
691 B
Plaintext
16 lines
691 B
Plaintext
# Server Configuration
|
|
PORT=3000 # The port the server will listen on
|
|
|
|
# Upload Settings
|
|
MAX_FILE_SIZE=1024 # Maximum file size in MB
|
|
AUTO_UPLOAD=false # Enable automatic upload on file selection
|
|
|
|
# Security
|
|
DUMBDROP_PIN= # Optional PIN protection (4-10 digits)
|
|
DUMBDROP_TITLE=DumbDrop # Site title displayed in header
|
|
|
|
# Notifications (Optional)
|
|
APPRISE_URL= # Apprise URL for notifications (e.g., tgram://bottoken/ChatID)
|
|
APPRISE_MESSAGE=New file uploaded - {filename} ({size}), Storage used {storage}
|
|
APPRISE_SIZE_UNIT=auto # Size unit for notifications (auto, B, KB, MB, GB, TB)
|