SPB Git

Repository Public MIT Selected

.env.example 1.6 KB 44 lines dotenv

1# ─────────────────────────────────────────────2#  SPB Git — Personal Git Platform3# ─────────────────────────────────────────────4#  Author  : Simon-Pierre Boucher5#  Contact : contact@spboucher.ai6#  File    : .env.example7#  Purpose : Example environment configuration (copy to .env)8#  License : MIT © Simon-Pierre Boucher9# ─────────────────────────────────────────────1011# Port the Fastify server listens on (ngrok upstreams to this)12SPBGIT_PORT=74201314# Bind address — keep loopback, ngrok terminates TLS in front15SPBGIT_HOST=127.0.0.11617# Public origin used for canonical URLs, OG cards, feeds, clone URLs18SPBGIT_PUBLIC_URL=https://git.spboucher.ai1920# Where bare repositories live (source of truth)21SPBGIT_GIT_ROOT=/srv/git2223# Metadata (meta.json, tokens.json, activity.jsonl)24SPBGIT_DATA_DIR=/srv/spbgit/data2526# Rendered HTML, language stats, archives, OG images27SPBGIT_CACHE_DIR=/srv/spbgit/cache2829# Snapshot archives: size ceiling in MB (0 = none), hours kept after last download, requests per minute per address30# SPBGIT_ARCHIVE_MAX_MB=204831# SPBGIT_ARCHIVE_KEEP_HOURS=2432# SPBGIT_ARCHIVE_RPM=63334# pino log level: trace | debug | info | warn | error35SPBGIT_LOG_LEVEL=info3637# development enables template reload + pretty errors38SPBGIT_ENV=production3940# For local development, use project-relative dirs instead:41# SPBGIT_GIT_ROOT=./dev/git42# SPBGIT_DATA_DIR=./dev/data43# SPBGIT_CACHE_DIR=./dev/cache44
Files main
Menu

Theme