initial commit
This commit is contained in:
27
.env.example
Normal file
27
.env.example
Normal file
@@ -0,0 +1,27 @@
|
||||
# Required: Admin bearer token for API access
|
||||
ADMIN_TOKEN=your-secure-admin-token-here
|
||||
|
||||
# Docker host binding (used by docker-compose for port mapping)
|
||||
# The Go service always binds to 0.0.0.0:8080 inside the container
|
||||
HOST=0.0.0.0
|
||||
PORT=8080
|
||||
|
||||
# Optional: Service configuration (defaults shown)
|
||||
DEPLOY_ROOT=/var/www/docs
|
||||
RELEASE_ROOT=/var/www/deploys
|
||||
DB_PATH=/data/deployer.db
|
||||
|
||||
# Optional: Upload and retention settings
|
||||
MAX_UPLOAD_SIZE=104857600
|
||||
RELEASES_TO_KEEP=5
|
||||
|
||||
# Optional: Logging
|
||||
LOG_LEVEL=info
|
||||
|
||||
# Optional: File deletion behavior
|
||||
DISABLE_FILE_DELETE_ON_USER_REMOVE=false
|
||||
|
||||
# Optional: TLS configuration (if terminating TLS in the service)
|
||||
# TLS_CERT=/path/to/cert.pem
|
||||
# TLS_KEY=/path/to/key.pem
|
||||
|
||||
Reference in New Issue
Block a user