Files
tingz/.env.example

32 lines
826 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
# User and group for file ownership (MUST match system user on host)
UID=1000
GID=1000
# Required: Admin bearer token for API access
ADMIN_TOKEN=your-secure-admin-token-here
# 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