Skip to content

Instantly share code, notes, and snippets.

@jcbellido
Last active January 2, 2025 10:49
Show Gist options
  • Select an option

  • Save jcbellido/7f9c771d56c67f3af70948d805e121c2 to your computer and use it in GitHub Desktop.

Select an option

Save jcbellido/7f9c771d56c67f3af70948d805e121c2 to your computer and use it in GitHub Desktop.
jcbellido.info: gogs docker-friendly `app.ini`
BRAND_NAME = Gogs
RUN_USER = git
RUN_MODE = prod
[database]
TYPE = sqlite3
HOST = 127.0.0.1:5432
NAME = gogs
SCHEMA = public
USER = gogs
PASSWORD =
SSL_MODE = disable
PATH = data/gogs.db
[repository]
ROOT = /data/git/gogs-repositories
DEFAULT_BRANCH = main
[server]
DOMAIN = localhost
HTTP_PORT = 3000
EXTERNAL_URL = http://localhost:3000/
DISABLE_SSH = false
SSH_PORT = 22
START_SSH_SERVER = false
OFFLINE_MODE = false
[email]
ENABLED = false
[auth]
REQUIRE_EMAIL_CONFIRMATION = false
DISABLE_REGISTRATION = false
ENABLE_REGISTRATION_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = false
[user]
ENABLE_EMAIL_NOTIFICATION = false
[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = false
[session]
PROVIDER = file
[log]
MODE = file
LEVEL = Info
ROOT_PATH = /app/gogs/log
[security]
INSTALL_LOCK = true
SECRET_KEY = Slrogth1iccA7QY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment