created major large-scale changes
This commit is contained in:
17
roles/init-server/templates/user/gitea.env.j2
Normal file
17
roles/init-server/templates/user/gitea.env.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
GITEA_MODE={{ mode | default("dev") }}
|
||||
GITEA_NAME={{ (web_fqdn | split("."))[0].upper() + " Nous" }}
|
||||
GITEA_SSH_PORT={{ gitea.ssh.port }}
|
||||
GITEA_LANDING={{ gitea.site.landing }}
|
||||
GITEA_TRUSTED_PROXIES={{ gitea.trusted.proxies | join(",") }}
|
||||
|
||||
{% if gitea.site.registration.enabled %}
|
||||
GITEA_PROHIBIT_REGISTRATION=false
|
||||
{% else %}
|
||||
GITEA_PROHIBIT_REGISTRATION=true
|
||||
{% endif %}
|
||||
|
||||
GITEA_DB_TYPE={{ gitea.db.type }}
|
||||
|
||||
{% if gitea.db.type == "mysql" %}
|
||||
GITEA_DB_NAME={{ gitea.db.name }}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user