feature(docker): Implemented DockerFile, docker compose .env and updated the run.sh file.
This commit is contained in:
25
.env.example
Normal file
25
.env.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# Core service switches
|
||||
WARPBOX_GUEST_UPLOADS_ENABLED=true
|
||||
WARPBOX_API_ENABLED=true
|
||||
WARPBOX_ZIP_DOWNLOADS_ENABLED=true
|
||||
WARPBOX_ONE_TIME_DOWNLOADS_ENABLED=true
|
||||
|
||||
# Storage and expiry limits (in MB)
|
||||
WARPBOX_GLOBAL_MAX_FILE_SIZE_MB=2048
|
||||
WARPBOX_GLOBAL_MAX_BOX_SIZE_MB=4096
|
||||
WARPBOX_DEFAULT_GUEST_EXPIRY_SECONDS=3600
|
||||
WARPBOX_MAX_GUEST_EXPIRY_SECONDS=172800
|
||||
|
||||
# Tuning
|
||||
WARPBOX_BOX_POLL_INTERVAL_MS=5000
|
||||
WARPBOX_THUMBNAIL_BATCH_SIZE=10
|
||||
WARPBOX_THUMBNAIL_INTERVAL_SECONDS=30
|
||||
|
||||
# Data location
|
||||
# For local run: ./data
|
||||
# For Docker: /app/data
|
||||
WARPBOX_DATA_DIR=./data
|
||||
|
||||
# Admin Area
|
||||
WARPBOX_ADMIN_ENABLED=true
|
||||
WARPBOX_ADMIN_PASSWORD=123
|
||||
Reference in New Issue
Block a user