2019-10-24 15:54:15 +02:00
|
|
|
# This is my template comment
|
|
|
|
|
|
|
|
APP_NAME = Gitea: Git with a cup of tea
|
|
|
|
RUN_USER = root
|
|
|
|
RUN_MODE = prod
|
|
|
|
|
|
|
|
# This is my template comment
|
|
|
|
[oauth2]
|
|
|
|
JWT_SECRET = cRRpOv8jL5UNUzSXMzvdeN_-IWhpQOtpPOKsMZBFwJI
|
|
|
|
|
|
|
|
[security]
|
|
|
|
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1NzE4MjkwMjl9.bGFA2wn3daZx_954cf7ME3o8CrTyLEibmoyV_aD-pTQ
|
|
|
|
INSTALL_LOCK = true
|
|
|
|
SECRET_KEY = vPFgSqRMIe7Dzk4frRM4UA3CETedL8agK7x6IQFQt9YfRPiQGhQbYAGfyan71iUa
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = postgres
|
|
|
|
HOST = 127.0.0.1:{{ port(providers.postgresql) }}
|
2019-10-28 06:17:45 +01:00
|
|
|
NAME = {{ service.id | replace("/", "_") }}_db
|
|
|
|
USER = {{ service.id | replace("/", "_") }}
|
|
|
|
PASSWD = {{ random_password( service.id ) }}
|
2019-10-24 15:54:15 +02:00
|
|
|
SSL_MODE = disable
|
|
|
|
CHARSET = utf8
|
2019-10-28 06:17:45 +01:00
|
|
|
PATH = {{ service.root }}/data/gitea.db
|
2019-10-24 15:54:15 +02:00
|
|
|
|
|
|
|
[repository]
|
2019-10-28 06:17:45 +01:00
|
|
|
ROOT = {{ service.root }}/repositories
|
2019-10-24 15:54:15 +02:00
|
|
|
|
|
|
|
[server]
|
2019-10-28 13:24:41 +01:00
|
|
|
SSH_DOMAIN = {{ service.domain }}
|
|
|
|
DOMAIN = {{ service.domain }}
|
2019-10-28 06:17:45 +01:00
|
|
|
HTTP_PORT = {{ port(service.id) }}
|
2019-10-28 13:24:41 +01:00
|
|
|
ROOT_URL = http://{{ service.domain }}:{{ port(service.id) }}/
|
2019-10-24 15:54:15 +02:00
|
|
|
DISABLE_SSH = false
|
|
|
|
SSH_PORT = 22
|
|
|
|
LFS_START_SERVER = true
|
2019-10-28 06:17:45 +01:00
|
|
|
LFS_CONTENT_PATH = {{ service.root }}/data/lfs
|
2019-10-24 15:54:15 +02:00
|
|
|
LFS_JWT_SECRET = nUIANTsStEelCeOo7SFTcJllpJ6I8DXNr7duUgGMXfI
|
|
|
|
OFFLINE_MODE = false
|
|
|
|
|
|
|
|
[mailer]
|
|
|
|
ENABLED = false
|
|
|
|
|
|
|
|
[service]
|
|
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
|
|
ENABLE_NOTIFY_MAIL = false
|
|
|
|
DISABLE_REGISTRATION = false
|
|
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
|
|
ENABLE_CAPTCHA = false
|
|
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
|
|
|
NO_REPLY_ADDRESS = noreply.example.org
|
|
|
|
|
|
|
|
[picture]
|
|
|
|
DISABLE_GRAVATAR = false
|
|
|
|
ENABLE_FEDERATED_AVATAR = true
|
|
|
|
|
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = true
|
|
|
|
ENABLE_OPENID_SIGNUP = true
|
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER = file
|
|
|
|
|
|
|
|
[log]
|
|
|
|
MODE = file
|
|
|
|
LEVEL = info
|
2019-10-28 06:17:45 +01:00
|
|
|
ROOT_PATH = {{ service.root }}/log
|
2019-10-24 15:54:15 +02:00
|
|
|
|
|
|
|
|