Skip to content

Instantly share code, notes, and snippets.

@82p
Last active April 3, 2017 09:26
Show Gist options
  • Save 82p/eb88c5f1d28b9acb21a3b7ff21f322c2 to your computer and use it in GitHub Desktop.
Save 82p/eb88c5f1d28b9acb21a3b7ff21f322c2 to your computer and use it in GitHub Desktop.
APP_NAME = Gogs
RUN_USER = git
RUN_MODE = prod
[database]
DB_TYPE = postgres
HOST = 127.0.0.1:5432
NAME = gogs
USER = user
PASSWD = pass
SSL_MODE = disable
PATH = data/gogs.db
[repository]
ROOT = /home/git/gogs-repositories
[server]
DOMAIN = 10.104.17.50
HTTP_PORT = 80
ROOT_URL = http://10.104.17.50:80/
DISABLE_SSH = false
SSH_PORT = 22
OFFLINE_MODE = false
SSH_LISTEN_PORT = 2020
START_SSH_SERVER = true
SSH_DOMAIN = 10.104.17.50
[mailer]
ENABLED = false
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = false
[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = false
[session]
PROVIDER = file
[log]
MODE = file
LEVEL = Info
ROOT_PATH = /home/git/gogs/log
[security]
INSTALL_LOCK = true
SECRET_KEY = 0f5JzjdXDNZOuUg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment