# ───────────────────────────────────────────── # SPB Git — Personal Git Platform # ───────────────────────────────────────────── # Author : Simon-Pierre Boucher # Contact : contact@spboucher.ai # File : .env.example # Purpose : Example environment configuration (copy to .env) # License : MIT © Simon-Pierre Boucher # ───────────────────────────────────────────── # Port the Fastify server listens on (ngrok upstreams to this) SPBGIT_PORT=7420 # Bind address — keep loopback, ngrok terminates TLS in front SPBGIT_HOST=127.0.0.1 # Public origin used for canonical URLs, OG cards, feeds, clone URLs SPBGIT_PUBLIC_URL=https://git.spboucher.ai # Where bare repositories live (source of truth) SPBGIT_GIT_ROOT=/srv/git # Metadata (meta.json, tokens.json, activity.jsonl) SPBGIT_DATA_DIR=/srv/spbgit/data # Rendered HTML, language stats, archives, OG images SPBGIT_CACHE_DIR=/srv/spbgit/cache # pino log level: trace | debug | info | warn | error SPBGIT_LOG_LEVEL=info # development enables template reload + pretty errors SPBGIT_ENV=production # For local development, use project-relative dirs instead: # SPBGIT_GIT_ROOT=./dev/git # SPBGIT_DATA_DIR=./dev/data # SPBGIT_CACHE_DIR=./dev/cache