gitea-app/app.ini.template

57 lines
975 B
Plaintext
Raw Normal View History

2015-04-29 00:12:16 +00:00
RUN_USER = cloudron
RUN_MODE = prod
2015-04-29 04:57:58 +00:00
[database]
DB_TYPE = mysql
HOST = ##MYSQL_HOST:##MYSQL_PORT
NAME = ##MYSQL_DATABASE
USER = ##MYSQL_USERNAME
PASSWD = ##MYSQL_PASSWORD
SSL_MODE =
PATH =
2015-04-29 00:12:16 +00:00
[repository]
ROOT = /app/data
SCRIPT_TYPE = bash
[server]
2015-04-29 02:29:12 +00:00
PROTOCOL = http
2015-04-29 00:12:16 +00:00
DOMAIN = ##HOSTNAME
2015-04-29 02:29:12 +00:00
ROOT_URL = https://%(DOMAIN)s/
2015-04-29 00:12:16 +00:00
HTTP_ADDR =
HTTP_PORT = 3000
DISABLE_SSH = false
SSH_PORT = ##SSH_PORT
; Landing page for non-logged users, can be "home" or "explore"
LANDING_PAGE = explore
2015-04-29 04:57:58 +00:00
[mailer]
ENABLED = true
HOST = ##MAIL_SERVER:##MAIL_PORT
USER =
PASSWD =
FROM = ##MAIL_FROM
2015-04-29 00:12:16 +00:00
2015-04-29 02:29:12 +00:00
[admin]
[security]
INSTALL_LOCK = true
2015-04-29 04:57:58 +00:00
SECRET_KEY = ##SECRET_KEY
2015-04-29 02:29:12 +00:00
2015-04-29 04:57:58 +00:00
[service]
DISABLE_REGISTRATION = false
SHOW_REGISTRATION_BUTTON = false
2015-04-29 00:12:16 +00:00
2015-06-23 17:15:46 +00:00
[oauth]
ENABLED = true
[oauth.cloudron]
ENABLED = true
CLIENT_ID = ##OAUTH_CLIENT_ID
CLIENT_SECRET = ##OAUTH_CLIENT_SECRET
SCOPES = root,profile,apps,roleAdmin,user
AUTH_URL = ##OAUTH_AUTH_URL
TOKEN_URL = ##OAUTH_TOKEN_URL
CLOUDRON_ORIGIN = ##OAUTH_CLOUDRON_ORIGIN