mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-21 23:50:59 +00:00
56 lines
969 B
Text
56 lines
969 B
Text
RUN_USER = cloudron
|
|
RUN_MODE = prod
|
|
|
|
[database]
|
|
DB_TYPE = mysql
|
|
HOST = ##MYSQL_HOST:##MYSQL_PORT
|
|
NAME = ##MYSQL_DATABASE
|
|
USER = ##MYSQL_USERNAME
|
|
PASSWD = ##MYSQL_PASSWORD
|
|
SSL_MODE =
|
|
PATH =
|
|
|
|
[repository]
|
|
ROOT = /app/data
|
|
SCRIPT_TYPE = bash
|
|
|
|
[server]
|
|
PROTOCOL = http
|
|
DOMAIN = ##HOSTNAME
|
|
ROOT_URL = https://%(DOMAIN)s/
|
|
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
|
|
|
|
[mailer]
|
|
ENABLED = true
|
|
HOST = ##MAIL_SERVER:##MAIL_PORT
|
|
USER =
|
|
PASSWD =
|
|
FROM = ##MAIL_FROM
|
|
|
|
[admin]
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
SECRET_KEY = ##SECRET_KEY
|
|
|
|
[service]
|
|
DISABLE_REGISTRATION = false
|
|
SHOW_REGISTRATION_BUTTON = false
|
|
|
|
[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 = ##CLOUDRON_ORIGIN
|
|
|