clove/doughGit
.env.example
# .env.example
# Copy to .env for `deno task dev`. On the server, deploy/run sets the paths and
# public URL, and /srv/clove/dough-git/.env only needs the secrets below.
# Where repositories and the SQLite database live (both default to ./data)
MINIGIT_REPOS_ROOT=./data/repos
MINIGIT_DB_PATH=./data/dough-git.db
MINIGIT_AVATARS_DIR=./data/avatars
# Public base URL (used for OIDC redirect + the clone URLs shown in the UI).
MINIGIT_BASE_URL=https://git.doughmination.gay
MINIGIT_TITLE=Dough Git
MINIGIT_FAVICON=https://git.doughmination.gay/favicon.png
MINIGIT_DESCRIPTION=A minimal self-hosted git mirror.
MINIGIT_THEME_COLOR=#eb459e
# Namespace slug of the site owner, who can add and remove moderators
MINIGIT_SITE_OWNER=clove
# Auto-create a bare repo on first authenticated push (set "false" to disable).
MINIGIT_AUTO_CREATE=true
# How many days a deleted repository stays recoverable. 0 keeps them forever.
# The server sweeps every six hours; the recovery page sweeps its owner too.
MINIGIT_TRASH_DAYS=30
# --- Single sign-on (Doughmination SSO / auth-server) ---------------------------
# In the SSO admin (/admin/clients) add a *confidential* application with:
# Redirect URI: <MINIGIT_BASE_URL>/auth/callback
# Post-logout redirect URI: <MINIGIT_BASE_URL>/
OIDC_ISSUER=https://auth.doughmination.gay
OIDC_CLIENT_ID=
OIDC_CLIENT_SECRET=
OIDC_ADOPT_LEGACY_USERS=true
# Signs the short-lived cookie that carries a sign-in attempt through the SSO
# redirect. Generate with: openssl rand -hex 32
SESSION_SECRET=