Files
image-drop/.env.example

32 lines
850 B
Plaintext

HOST=0.0.0.0
PORT=8080
MAX_CONCURRENT=3
ADMIN_PASSWORD=test123
TIMEZONE=America/Edmonton
# Public uploader page (optional)
PUBLIC_UPLOAD_PAGE_ENABLED=true
# Local dedupe cache (SQLite)
STATE_DB=./data/state.db
# Base URL for generating absolute invite links (recommended for production)
# e.g., PUBLIC_BASE_URL=https://photos.example.com
#PUBLIC_BASE_URL=
LOG_LEVEL=INFO
# Chunked uploads (to work around 100MB proxy limits)
# Enable to send files in chunks from browser to this service
# Recommended chunk size for Cloudflare Tunnel is <= 95MB.
CHUNKED_UPLOADS_ENABLED=true
CHUNK_SIZE_MB=50
# Optional Telegram bot for upload alerts and control
# create a bot using @BotFather then copy the API key here
# get your account's ID by messaging https://t.me/userinfobot
# Leave these blank to disable
TELEGRAM_BOT_API_KEY=
TELEGRAM_BOT_OWNER_ID=