# ══════════════════════════════════════════════════════════════════ # AlpineConsent — environment variable template # # INSTRUCTIONS: # 1. Copy this file: cp .env.example .env # 2. Fill in every value marked # 3. Never commit .env to Git — it is in .gitignore # 4. See docs/en/INSTALLATION.md for full setup guidance # ══════════════════════════════════════════════════════════════════ # ── Database ────────────────────────────────────────────────────── # Database Credentials DB_USER=alpine_user DB_PASSWORD= # min 24 random chars; e.g.: openssl rand -base64 24 DB_NAME=alpine_db POSTGRES_VERSION=16-alpine # ── Redis ───────────────────────────────────────────────────────── # Redis Credentials REDIS_PASSWORD= # min 24 random chars; e.g.: openssl rand -base64 24 REDIS_VERSION=7-alpine # ── Gitea ───────────────────────────────────────────────────────── # GITEA_ROOT_URL: the full public URL Gitea uses for clone links, # webhooks, and Push Mirror. # - While running on plain HTTP/IP (MVP): http://YOUR_SERVER_IP:3000/ # - After adding a domain + Nginx + HTTPS: https://git.alpineconsent.eu/ # Domains GITEA_VERSION=1.22 GIT_DOMAIN=git.alpineconsent.site # Registration token from: # Gitea → Site Administration → Actions → Runners → Registration Token # Rotate this token immediately if it was ever committed or shared. RUNNER_VERSION=0.6.1 GITEA_RUNNER_TOKEN=TOKEN_HERE