Match old configuration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-06-23 13:36:38 +02:00
parent acb43e7537
commit b1a8b7ee3d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 15 additions and 1 deletions

View File

@ -8,6 +8,15 @@ NAME = {{ env "GITEA_DB_NAME" }}
PASSWD = {{ secret "db_passwd" }}
USER = {{ env "GITEA_DB_USER" }}
[service]
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ env "GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION" }}
DISABLE_REGISTRATION = {{ env "GITEA_DISABLE_REGISTRATION" }}
ENABLE_NOTIFY_MAIL = {{ env "GITEA_ENABLE_NOTIFY_MAIL" }}
[openid]
ENABLE_OPENID_SIGNIN = {{ env "GITEA_ENABLE_OPENID_SIGNIN" }}
ENABLE_OPENID_SIGNUP = {{ env "GITEA_ENABLE_OPENID_SIGNUP" }}
[indexer]
STARTUP_TIMEOUT = 0

View File

@ -14,12 +14,17 @@ services:
- secret_key
- smtp_passwd
environment:
- GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION="true"
- GITEA_APP_NAME="Git with solidaritea"
- GITEA_DB_HOST="mariadb:3306"
- GITEA_DB_NAME="gitea"
- GITEA_DB_TYPE="mysql"
- GITEA_DB_USER="gitea"
- GITEA_DISABLE_REGISTRATION="false"
- GITEA_DOMAIN="git.autonomic.zone"
- GITEA_ENABLE_NOTIFY_MAIL="true"
- GITEA_ENABLE_OPENID_SIGNIN="true"
- GITEA_ENABLE_OPENID_SIGNUP="true"
- GITEA_SSH_PORT="2222"
volumes:
- "git:/data"
@ -68,7 +73,7 @@ networks:
configs:
app_ini:
name: gitea_app_ini_v1
name: gitea_app_ini_v2
file: app.ini.tmpl
template_driver: golang