Files
tingz/.env.example
2025-10-14 21:26:58 +03:00

27 lines
781 B
Plaintext

# Docker Compose Variables (used for port mapping)
# Copy this file to .env for docker-compose to use
# The Go service always binds to 0.0.0.0:8080 inside the container
HOST=0.0.0.0
PORT=8080
# Required: Admin bearer token for API access
ADMIN_TOKEN=your-secure-admin-token-here # TODO: generate a secure token
# Optional: Service configuration (defaults shown)
DEPLOY_ROOT=/var/www/tingz-docs
RELEASE_ROOT=/var/www/tingz-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