28 lines
932 B
Bash
28 lines
932 B
Bash
FORGEJO_MODE={{ mode | default("dev") }}
|
|
FORGEJO_NAME={{ (web_fqdn | split("."))[0].upper() + " Grimoire" }}
|
|
FORGEJO_SLOGAN={{ forgejo.description }}
|
|
FORGEJO_SSH_PORT={{ forgejo.ssh.port }}
|
|
FORGEJO_LANDING={{ forgejo.site.landing }}
|
|
FORGEJO_TRUSTED_PROXIES={{ forgejo.trusted.proxies | join(",") }}
|
|
FORGEJO_DESC={{ forgejo.description }}
|
|
FORGEJO_LOCK_REASONS={{ forgejo.site.lock_reasons | join(",") }}
|
|
FORGEJO_KANBAN_COLUMNS={{ forgejo.site.kanban_columns | join(",") }}
|
|
FORGEJO_TRIAGE_CATEGORIES={{ forgejo.site.triage_categories | join(",")}}
|
|
|
|
{% if compose.mode == "dev" %}
|
|
FORGEJO_PROTOCOL=http
|
|
{% elif compose.mode == "prod" %}
|
|
FORGEJO_PROTOCOL=https
|
|
{% endif %}
|
|
|
|
{% if forgejo.site.registration.enabled %}
|
|
FORGEJO_PROHIBIT_REGISTRATION=false
|
|
{% else %}
|
|
FORGEJO_PROHIBIT_REGISTRATION=true
|
|
{% endif %}
|
|
|
|
FORGEJO_DB_TYPE={{ forgejo.db.type }}
|
|
|
|
{% if forgejo.db.type == "mysql" %}
|
|
FORGEJO_DB_NAME={{ forgejo.db.name }}
|
|
{% endif %} |