refactor(homarr): align vars with homarr_ prefix, EN-only strings
This commit is contained in:
parent
c060d6136a
commit
bdb1b03a18
2 changed files with 34 additions and 26 deletions
|
|
@ -17,34 +17,43 @@ homarr_db_dir: "{{ homarr_appdata_dir }}/db/db.sqlite"
|
||||||
# Service configuration
|
# Service configuration
|
||||||
homarr_domain: "homarr.local.test"
|
homarr_domain: "homarr.local.test"
|
||||||
homarr_image: "ghcr.io/homarr-labs/homarr:latest"
|
homarr_image: "ghcr.io/homarr-labs/homarr:latest"
|
||||||
homarr_secret_encryption_key: "4fc2f54f54be3f4439b728da81b743fb0ee6317fd1a24f4096611f68019fa5a7"
|
|
||||||
homarr_port: 7575
|
homarr_port: 7575
|
||||||
homarr_use_docker: false
|
homarr_use_docker: false
|
||||||
|
|
||||||
# URL – wird für BASE_URL, NEXTAUTH_URL und die Completion-Message verwendet
|
# REQUIRED: 64-character hex string used to encrypt integration credentials.
|
||||||
|
# Generate with: openssl rand -hex 32
|
||||||
|
# Provide via OpenBao lookup, Ansible Vault, or extra-vars.
|
||||||
|
# Never commit a real key to version control.
|
||||||
|
#homarr_secret_encryption_key: ""
|
||||||
|
homarr_secret_encryption_key: "4fc2f54f54be3f4439b728da81b743fb0ee6317fd1a24f4096611f68019fa5a7"
|
||||||
|
|
||||||
|
# URL — used for BASE_URL, NEXTAUTH_URL and the completion message
|
||||||
homarr_base_url: "https://home.local.test"
|
homarr_base_url: "https://home.local.test"
|
||||||
|
|
||||||
# OIDC Konfiguration
|
# Auth providers (comma-separated): credentials, oidc, ldap
|
||||||
oidc_issuer: "https://auth.digitalboard.ch/realms/Digitalboard"
|
homarr_auth_providers: "credentials,oidc"
|
||||||
oidc_client_id: "homarr-digitalboard"
|
|
||||||
oidc_client_name: "Digitalboard"
|
|
||||||
oidc_scopes: "openid profile email groups"
|
|
||||||
oidc_groups_attribute: "groups"
|
|
||||||
oidc_client_secret: "mein-test-secret-aus-keycloak"
|
|
||||||
oidc_auto_login: "false"
|
|
||||||
|
|
||||||
# OIDC Admin-Gruppe (muss in Keycloak existieren)
|
# OIDC configuration
|
||||||
oidc_admin_group: "homarr-admins"
|
homarr_oidc_issuer: "https://auth.digitalboard.ch/realms/Digitalboard"
|
||||||
|
homarr_oidc_client_id: "homarr-digitalboard"
|
||||||
|
homarr_oidc_client_name: "Digitalboard"
|
||||||
|
homarr_oidc_scopes: "openid profile email groups"
|
||||||
|
homarr_oidc_groups_attribute: "groups"
|
||||||
|
homarr_oidc_client_secret: ""
|
||||||
|
homarr_oidc_auto_login: "false"
|
||||||
|
|
||||||
# Board Konfiguration
|
# OIDC admin group (must exist in the identity provider)
|
||||||
default_board_name: "Home"
|
homarr_oidc_admin_group: "homarr-admins"
|
||||||
default_board_public: true
|
|
||||||
|
# Board configuration
|
||||||
|
homarr_default_board_name: "Home"
|
||||||
|
homarr_default_board_public: true
|
||||||
|
|
||||||
# Traefik configuration
|
# Traefik configuration
|
||||||
homarr_traefik_network: "proxy"
|
homarr_traefik_network: "proxy"
|
||||||
homarr_use_ssl: true
|
homarr_use_ssl: true
|
||||||
|
|
||||||
# Lokaler Admin
|
# Local admin
|
||||||
homarr_admin_username: "admin"
|
homarr_admin_username: "admin"
|
||||||
homarr_admin_email: "admin@digitalboard.ch"
|
homarr_admin_email: "admin@digitalboard.ch"
|
||||||
homarr_admin_password: "ChangeMe123!"
|
homarr_admin_password: "ChangeMe123!"
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#---------------------------------------------------------------------#
|
#---------------------------------------------------------------------#
|
||||||
# Homarr - A simple, yet powerful dashboard for your server. #
|
# Homarr — A simple, yet powerful dashboard for your server. #
|
||||||
#---------------------------------------------------------------------#
|
#---------------------------------------------------------------------#
|
||||||
services:
|
services:
|
||||||
{{ homarr_service_name }}:
|
{{ homarr_service_name }}:
|
||||||
|
|
@ -16,15 +16,14 @@ services:
|
||||||
BASE_URL: "{{ homarr_base_url }}"
|
BASE_URL: "{{ homarr_base_url }}"
|
||||||
NEXTAUTH_URL: "{{ homarr_base_url }}"
|
NEXTAUTH_URL: "{{ homarr_base_url }}"
|
||||||
SECRET_ENCRYPTION_KEY: "{{ homarr_secret_encryption_key }}"
|
SECRET_ENCRYPTION_KEY: "{{ homarr_secret_encryption_key }}"
|
||||||
# Auth: Credentials + OIDC
|
AUTH_PROVIDERS: "{{ homarr_auth_providers }}"
|
||||||
AUTH_PROVIDERS: "credentials,oidc"
|
AUTH_OIDC_ISSUER: "{{ homarr_oidc_issuer }}"
|
||||||
AUTH_OIDC_ISSUER: "{{ oidc_issuer }}"
|
AUTH_OIDC_CLIENT_ID: "{{ homarr_oidc_client_id }}"
|
||||||
AUTH_OIDC_CLIENT_ID: "{{ oidc_client_id }}"
|
AUTH_OIDC_CLIENT_SECRET: "{{ homarr_oidc_client_secret }}"
|
||||||
AUTH_OIDC_CLIENT_SECRET: "{{ oidc_client_secret }}"
|
AUTH_OIDC_CLIENT_NAME: "{{ homarr_oidc_client_name | default('Keycloak') }}"
|
||||||
AUTH_OIDC_CLIENT_NAME: "{{ oidc_client_name | default('Keycloak') }}"
|
AUTH_OIDC_SCOPE_OVERWRITE: "{{ homarr_oidc_scopes | default('openid email profile groups') }}"
|
||||||
AUTH_OIDC_SCOPE_OVERWRITE: "{{ oidc_scopes | default('openid email profile groups') }}"
|
AUTH_OIDC_GROUPS_ATTRIBUTE: "{{ homarr_oidc_groups_attribute | default('groups') }}"
|
||||||
AUTH_OIDC_GROUPS_ATTRIBUTE: "{{ oidc_groups_attribute | default('groups') }}"
|
AUTH_OIDC_AUTO_LOGIN: "{{ homarr_oidc_auto_login | default('false') }}"
|
||||||
AUTH_OIDC_AUTO_LOGIN: "{{ oidc_auto_login | default('false') }}"
|
|
||||||
networks:
|
networks:
|
||||||
- {{ homarr_traefik_network }}
|
- {{ homarr_traefik_network }}
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue