simplifying docker workflow

This commit is contained in:
2025-10-14 21:54:28 +03:00
parent 7c4c4fd620
commit 758a22f964
5 changed files with 49 additions and 10 deletions

View File

@@ -1,11 +1,16 @@
# Docker Compose Variables (used for port mapping)
# Copy this file to .env for docker-compose to use
# 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 # TODO: generate a secure token
ADMIN_TOKEN=your-secure-admin-token-here
# Optional: Service configuration (defaults shown)
DEPLOY_ROOT=/var/www/tingz-docs
RELEASE_ROOT=/var/www/tingz-deploys