44 lines
1013 B
Cheetah
44 lines
1013 B
Cheetah
APP_NAME = {{ env "GITEA_APP_NAME" }}
|
|
RUN_MODE = prod
|
|
|
|
[database]
|
|
DB_TYPE = {{ env "GITEA_DB_TYPE" }}
|
|
HOST = {{ env "GITEA_DB_HOST" }}
|
|
NAME = {{ env "GITEA_DB_NAME" }}
|
|
PASSWD = {{ secret "db_passwd" }}
|
|
USER = {{ env "GITEA_DB_USER" }}
|
|
|
|
[indexer]
|
|
STARTUP_TIMEOUT = 0
|
|
|
|
[server]
|
|
DOMAIN = {{ env "GITEA_DOMAIN" }}
|
|
ROOT_URL = https://%(DOMAIN)s/
|
|
SSH_DOMAIN = {{ env "GITEA_DOMAIN" }}
|
|
SSH_LISTEN_PORT = {{ env "GITEA_SSH_PORT" }}
|
|
SSH_PORT = {{ env "GITEA_SSH_PORT" }}
|
|
START_SSH_SERVER = true
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
INTERNAL_TOKEN = {{ secret "internal_token" }}
|
|
SECRET_KEY = {{ secret "secret_key" }}
|
|
|
|
[oauth2]
|
|
JWT_SECRET = {{ secret "jwt_secret" }}
|
|
|
|
[mailer]
|
|
ENABLED = true
|
|
FROM = noreply@autonomic.zone
|
|
HOST = mail.gandi.net:465
|
|
USER = noreply@autonomic.zone
|
|
PASSWD = {{ secret "smtp_passwd" }}
|
|
MAILER_TYPE = smtp
|
|
IS_TLS_ENABLED = true
|
|
|
|
[markup.restructuredtext]
|
|
ENABLED = true
|
|
FILE_EXTENSIONS = .rst
|
|
RENDER_COMMAND = rst2html
|
|
IS_INPUT_FILE = false
|