infra/k8s/forgejo/config.yaml
2024-06-15 12:41:27 -07:00

43 lines
2.2 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: forgejo
data:
FORGEJO__repository__DEFAULT_REPO_UNITS: repo.code,repo.releases,repo.issues,repo.pulls,repo.wiki,repo.projects,repo.packages,repo.actions # this is the default for 1.22, should be safe to remove when we get there
FORGEJO__repository__PREFERRED_LICENSES: AGPL-3.0-or-later,LGPL-3.0-or-later,GPL-3.0-or-later,Apache-2.0,MIT
FORGEJO__repository__ENABLE_PUSH_CREATE_USER: "true"
FORGEJO__metrics__ENABLED: "true"
FORGEJO__email.incoming__USERNAME: git@janky.solutions
FORGEJO__email.incoming__USE_TLS: "true"
FORGEJO__email.incoming__PORT: "993"
FORGEJO__email.incoming__HOST: mx1.janky.email
FORGEJO__email.incoming__REPLY_TO_ADDRESS: git+%{token}@janky.solutions
FORGEJO__email.incoming__ENABLED: "true"
FORGEJO__mailer__FROM: git@janky.solutions
FORGEJO__mailer__USER: git@janky.solutions
FORGEJO__mailer__SMTP_ADDR: mx1.janky.email
FORGEJO__mailer__PROTOCOL: smtps
FORGEJO__mailer__ENABLED: "true"
FORGEJO__service__NO_REPLY_ADDRESS: noreply.git.janky.solutions
FORGEJO__service__ALLOW_ONLY_EXTERNAL_REGISTRATION: "true"
FORGEJO__service__SHOW_REGISTRATION_BUTTON: "false"
FORGEJO__service__DEFAULT_KEEP_EMAIL_PRIVATE: "true"
FORGEJO__service__ENABLE_NOTIFY_MAIL: "true"
FORGEJO__oauth2_client__ENABLE_AUTO_REGISTRATION: "true"
FORGEJO__oauth2_client__REGISTER_EMAIL_CONFIRM: "true"
FORGEJO__openid__ENABLE_OPENID_SIGNUP: "false"
FORGEJO__server__ROOT_URL: https://git.janky.solutions/
FORGEJO__server__DOMAIN: git.janky.solutions
FORGEJO__DEFAULT__APP_NAME: Janky Solutions
# FORGEJO__storage__STORAGE_TYPE: minio
# FORGEJO__storage__MINIO_ENDPOINT: storage.home.finn.io
# FORGEJO__storage__MINIO_USE_SSL: "true"
# FORGEJO__storage__MINIO_LOCATION: us-sea-1
# FORGEJO__storage__MINIO_ACCESS_KEY_ID: aQ0zCsTpCSJ8eKLtGZ3C
# FORGEJO__storage__MINIO_BUCKET: forgejo
# FORGEJO__attachment__STORAGE_TYPE: minio
# FORGEJO__attachment__MINIO_ENDPOINT: storage.home.finn.io
# FORGEJO__attachment__MINIO_USE_SSL: "true"
# FORGEJO__attachment__MINIO_LOCATION: us-sea-1
# FORGEJO__attachment__MINIO_ACCESS_KEY_ID: aQ0zCsTpCSJ8eKLtGZ3C
# FORGEJO__attachment__MINIO_BUCKET: forgejo