2024-05-06 18:00:43 +02:00
|
|
|
APP_NAME = Forgejo Fablab Cohabit
|
2024-05-30 14:46:21 +02:00
|
|
|
RUN_USER = forgejo
|
2024-05-06 18:00:43 +02:00
|
|
|
RUN_MODE = prod
|
|
|
|
WORK_PATH = /var/lib/forgejo
|
|
|
|
|
|
|
|
[admin]
|
|
|
|
DISABLE_REGULAR_ORG_CREATION = false
|
|
|
|
|
|
|
|
[oauth2]
|
2024-05-30 15:12:12 +02:00
|
|
|
JWT_SECRET = {{ FORGEJO_OAUTH2_JWT_SECRET }}
|
2024-05-06 18:00:43 +02:00
|
|
|
|
|
|
|
[security]
|
2024-05-30 15:12:12 +02:00
|
|
|
INTERNAL_TOKEN = {{ FORGEJO_SECURITY_INTERNAL_TOKEN }}
|
2024-05-06 18:00:43 +02:00
|
|
|
INSTALL_LOCK = true
|
2024-05-30 15:12:12 +02:00
|
|
|
SECRET_KEY = {{ FORGEJO_SECURITY_SECRET_KEY }}
|
2024-05-06 18:00:43 +02:00
|
|
|
PASSWORD_HASH_ALGO = pbkdf2
|
|
|
|
# ajout de la ligne suivante dans le cadre de la création d'un git hook pour le projet portfolios (par habib)
|
|
|
|
DISABLE_GIT_HOOKS = false
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = postgres
|
2024-05-30 15:12:12 +02:00
|
|
|
HOST = {{ FORGEJO_DB_HOST }}
|
|
|
|
NAME = {{ FORGEJO_DB_NAME }}
|
|
|
|
USER = {{ FORGEJO_DB_USER }}
|
|
|
|
PASSWD = {{ FORGEJO_DB_PASSWD }}
|
2024-05-06 18:00:43 +02:00
|
|
|
SCHEMA =
|
|
|
|
SSL_MODE = disable
|
|
|
|
CHARSET = utf8
|
|
|
|
# PATH = /var/lib/forgejo/data/gitea.db
|
|
|
|
LOG_SQL = false
|
|
|
|
|
|
|
|
[repository]
|
|
|
|
ROOT = /var/lib/forgejo/data/gitea-repositories
|
|
|
|
DEFAULT_BRANCH = main
|
|
|
|
|
|
|
|
[ui]
|
|
|
|
DEFAULT_THEME = arc-green
|
|
|
|
|
|
|
|
[server]
|
|
|
|
PROTOCOL = http
|
|
|
|
SSH_DOMAIN = git.cohabit.fr
|
|
|
|
DOMAIN = git.cohabit.fr
|
|
|
|
HTTP_PORT = 10001
|
|
|
|
ROOT_URL = https://git.cohabit.fr
|
|
|
|
DISABLE_SSH = false
|
|
|
|
SSH_PORT = 22222
|
|
|
|
SSH_LISTEN_HOST = 0.0.0.0
|
|
|
|
START_SSH_SERVER = true
|
|
|
|
LFS_START_SERVER = true
|
|
|
|
# LFS_CONTENT_PATH = /var/lib/forgejo/data/lfs
|
2024-05-30 15:12:12 +02:00
|
|
|
LFS_JWT_SECRET = {{ FORGEJO_SERVER_LFS_JWT_SECRET }}
|
2024-05-06 18:00:43 +02:00
|
|
|
OFFLINE_MODE = false
|
|
|
|
|
|
|
|
[mailer]
|
|
|
|
ENABLED = false
|
|
|
|
|
|
|
|
[service]
|
|
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
|
|
ENABLE_NOTIFY_MAIL = false
|
|
|
|
DISABLE_REGISTRATION = true
|
|
|
|
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 = false
|
|
|
|
NO_REPLY_ADDRESS =
|
|
|
|
|
|
|
|
[picture]
|
|
|
|
DISABLE_GRAVATAR = false
|
|
|
|
ENABLE_FEDERATED_AVATAR = true
|
|
|
|
|
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = false
|
|
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER = file
|
|
|
|
|
|
|
|
[log]
|
|
|
|
MODE = file
|
|
|
|
LEVEL = debug,error,info
|
|
|
|
ROOT_PATH = /var/log/forgejo/
|
|
|
|
logger.router.MODE = file
|
|
|
|
|
|
|
|
[actions]
|
|
|
|
ENABLED = true
|
|
|
|
DEFAULT_ACTIONS_URL = https://code.forgejo.org
|