mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Activated user push repo for gitea and implemented (untested) smtp mail
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# Configuration
|
||||
# @see https://docs.gitea.com/next/administration/config-cheat-sheet#repository-repository
|
||||
|
||||
USER_UID=1000
|
||||
USER_GID=1000
|
||||
DB_TYPE=mysql
|
||||
@@ -10,4 +13,21 @@ SSH_LISTEN_PORT=22
|
||||
DOMAIN={{domains[application_id]}}
|
||||
SSH_DOMAIN={{domains[application_id]}}
|
||||
RUN_MODE="{{run_mode}}"
|
||||
ROOT_URL="https://{{domains[application_id]}}/"
|
||||
ROOT_URL="https://{{domains[application_id]}}/"
|
||||
|
||||
# Mail Configuration
|
||||
# @see https://docs.gitea.com/next/installation/install-with-docker#managing-deployments-with-environment-variables
|
||||
# @todo test
|
||||
GITEA__mailer__ENABLED=true
|
||||
GITEA__mailer__FROM={{ system_email.from }}
|
||||
GITEA__mailer__PROTOCOL=smtps
|
||||
GITEA__mailer__SMTP_ADDR={{ system_email.host }}
|
||||
GITEA__mailer__SMTP_PORT={{ system_email.port }}
|
||||
GITEA__mailer__USER={{system_email.username}}
|
||||
GITEA__mailer__PASSWD={{ system_email.password }}
|
||||
|
||||
# Allow push creation
|
||||
# @see https://github.com/go-gitea/gitea/issues/17619
|
||||
GITEA__REPOSITORY__ENABLE_PUSH_CREATE_USER={{ applications[application_id].configuration.repository.enable_push_create_user | lower }}
|
||||
GITEA__REPOSITORY__DEFAULT_PRIVATE={{ applications[application_id].configuration.repository.default_private | lower }}
|
||||
GITEA__REPOSITORY__DEFAULT_PUSH_CREATE_PRIVATE={{ applications[application_id].configuration.repository.default_push_create_private | lower }}
|
Reference in New Issue
Block a user