fix: reomved remnants of removed env / fixed encription key validatiion

This commit is contained in:
Tobias Wüst 2026-05-13 13:58:15 +02:00
parent f4084ba078
commit 3c35b8782e
Signed by: Tobias-Wuest
GPG key ID: 2D8992B0F4CA97E8
3 changed files with 9 additions and 10 deletions

View file

@ -23,8 +23,7 @@ homarr_use_docker: false
# 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"
homarr_secret_encryption_key: "9981080f7eb054b90c7be80622608c3b63ba58408171ef3fbcdce9ba9c0554dc"
# URL — used for BASE_URL, NEXTAUTH_URL and the completion message
homarr_base_url: "https://home.local.test"

View file

@ -10,7 +10,7 @@
ansible.builtin.assert:
that:
- homarr_secret_encryption_key | length == 64
- homarr_secret_encryption_key is match('^[a-f0-9]+$')
- homarr_secret_encryption_key is match('^[a-fA-F0-9]+$')
fail_msg: >-
homarr_secret_encryption_key must be a 64-character hex string.
Generate with: openssl rand -hex 32

View file

@ -2,8 +2,8 @@
# Homarr — A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
{{ homarr_service_name }}:
container_name: {{ homarr_service_name }}
homarr:
container_name: homarr
image: {{ homarr_image }}
restart: unless-stopped
volumes:
@ -29,14 +29,14 @@ services:
labels:
- traefik.enable=true
- traefik.docker.network={{ homarr_traefik_network }}
- traefik.http.routers.{{ homarr_service_name }}.rule=Host(`{{ homarr_domain }}`)
- traefik.http.routers.homarr.rule=Host(`{{ homarr_domain }}`)
{% if homarr_use_ssl %}
- traefik.http.routers.{{ homarr_service_name }}.entrypoints=websecure
- traefik.http.routers.{{ homarr_service_name }}.tls=true
- traefik.http.routers.homarr.entrypoints=websecure
- traefik.http.routers.homarr.tls=true
{% else %}
- traefik.http.routers.{{ homarr_service_name }}.entrypoints=web
- traefik.http.routers.homarr.entrypoints=web
{% endif %}
- traefik.http.services.{{ homarr_service_name }}.loadbalancer.server.port={{ homarr_port }}
- traefik.http.services.homarr.loadbalancer.server.port={{ homarr_port }}
networks:
{{ homarr_traefik_network }}:
external: true