# GitGud configuration. Read by systemd as the service's environment;
# every value is consumed in config/runtime.exs at boot.
#
# This file is a dpkg conffile: your edits survive package upgrades.
# It is mode 0640, root:gitgud — it holds credentials.
# ── required ─────────────────────────────────────────────────────────
# Postgres. Either a URL, or the split POSTGRES_* form.
DATABASE_URL=postgres://gitgud:CHANGEME@localhost/gitgud
#POSTGRES_HOST=localhost
#POSTGRES_USER=gitgud
#POSTGRES_PASSWORD=CHANGEME
#POSTGRES_DB=gitgud
# Generate with: /opt/gitgud/bin/git_gud eval 'IO.puts(Base.encode64(:crypto.strong_rand_bytes(48)))'
SECRET_KEY_BASE=CHANGEME
# The public hostname. Clone URLs, webhooks and federation all derive
# from it, so it must be what users actually type.
PHX_HOST=git.example.com
# ── commonly set ─────────────────────────────────────────────────────
PORT=4000
# Durable paths. The package creates both, owned by the service user.
GIT_REPOS_PATH=/var/lib/gitgud/repos
STORAGE_DISK_ROOT=/var/lib/gitgud/storage
# Embedded SSH daemon, off by default.
#SSH_SERVER_ENABLED=true
#SSH_PORT=2222
#SSH_EXTERNAL_PORT=22
#SSH_HOST_KEY_DIR=/var/lib/gitgud/ssh
# Bundled OCI registry, if you run one alongside.
#GITGUD_REGISTRY_HOST=registry.example.com
# Error reporting. Unset means Sentry no-ops.
#SENTRY_DSN=
# Outbound mail. Unset means mail is logged, not sent.
#SMTP_RELAY=
#SMTP_USERNAME=
#SMTP_PASSWORD=
neiam
/gitgud
Git Gud
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
1
Log in to mark this repository.
1.6 KiB · text
History
d82bd83