Files
skato-ansible/roles/init-server/templates/user/opengist.env.j2

18 lines
409 B
Django/Jinja

OG_DB_TYPE={{ gist.db.type }}
{% if gist.db.type == "mysql" %}
OG_DB_NAME={{ gist.db.name }}
{% endif %}
OG_SEARCH_DEFAULT={{ gist.search.priority | join(",") }}
{% if ssh is defined and ssh != None %}
OG_SSH_PORT={{ gist.ssh.port }}
OG_SSH_GIT_ENABLED=true
{% else %}
OG_SSH_GIT_ENABLED=false
{% endif %}
OG_NAME={{ (web_fqdn | split("."))[0].upper() + " Grimoire" }}
OG_LOGO=logo.svg
OG_FAVICON=logo.ico