diff --git a/config b/config index cdfc219..8b923a1 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit cdfc2199f986ccce0d597de4ba75a9025b7c81e2 +Subproject commit 8b923a1ab24f1bf0cfc915ec16d6e0604a72f0e2 diff --git a/internal/config/config.go b/internal/config/config.go index 7e1395b..8bfcb0f 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -53,6 +53,7 @@ type Traefik struct { type Forgejo struct { Version string `json:"version"` Name string `json:"name"` + Slogan string `json:"slogan"` Subdomain string `json:"subdomain"` ContainerName string `json:"containerName"` ContainerIpv4Address string `json:"containerIpv4Address"` diff --git a/templates/forgejo/app.ini.gotmpl b/templates/forgejo/app.ini.gotmpl index b93afe8..cdc88d8 100644 --- a/templates/forgejo/app.ini.gotmpl +++ b/templates/forgejo/app.ini.gotmpl @@ -1,8 +1,9 @@ {{- $app_data_path := printf "%s/git" .Forgejo.DataContainerDirectory -}} -APP_NAME = "{{ .Forgejo.Name }}" -RUN_USER = git -RUN_MODE = {{ .Forgejo.RunMode }} -WORK_PATH = {{ .Forgejo.Work }} +APP_NAME = "{{ .Forgejo.Name }}" +APP_SLOGAN = "{{ .Forgejo.Slogan }}" +RUN_USER = git +RUN_MODE = {{ .Forgejo.RunMode }} +WORK_PATH = {{ .Forgejo.Work }} [repository] ROOT = {{ .Forgejo.DataContainerDirectory }}/git/repositories