fix: reomved remnants of removed env / fixed encription key validatiion
This commit is contained in:
parent
f4084ba078
commit
3c35b8782e
3 changed files with 9 additions and 10 deletions
|
|
@ -23,8 +23,7 @@ homarr_use_docker: false
|
||||||
# Generate with: openssl rand -hex 32
|
# Generate with: openssl rand -hex 32
|
||||||
# Provide via OpenBao lookup, Ansible Vault, or extra-vars.
|
# Provide via OpenBao lookup, Ansible Vault, or extra-vars.
|
||||||
# Never commit a real key to version control.
|
# Never commit a real key to version control.
|
||||||
#homarr_secret_encryption_key: ""
|
homarr_secret_encryption_key: "9981080f7eb054b90c7be80622608c3b63ba58408171ef3fbcdce9ba9c0554dc"
|
||||||
homarr_secret_encryption_key: "4fc2f54f54be3f4439b728da81b743fb0ee6317fd1a24f4096611f68019fa5a7"
|
|
||||||
|
|
||||||
# URL — used for BASE_URL, NEXTAUTH_URL and the completion message
|
# 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"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- homarr_secret_encryption_key | length == 64
|
- 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: >-
|
fail_msg: >-
|
||||||
homarr_secret_encryption_key must be a 64-character hex string.
|
homarr_secret_encryption_key must be a 64-character hex string.
|
||||||
Generate with: openssl rand -hex 32
|
Generate with: openssl rand -hex 32
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
# Homarr — A simple, yet powerful dashboard for your server. #
|
# Homarr — A simple, yet powerful dashboard for your server. #
|
||||||
#---------------------------------------------------------------------#
|
#---------------------------------------------------------------------#
|
||||||
services:
|
services:
|
||||||
{{ homarr_service_name }}:
|
homarr:
|
||||||
container_name: {{ homarr_service_name }}
|
container_name: homarr
|
||||||
image: {{ homarr_image }}
|
image: {{ homarr_image }}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -29,14 +29,14 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.docker.network={{ homarr_traefik_network }}
|
- 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 %}
|
{% if homarr_use_ssl %}
|
||||||
- traefik.http.routers.{{ homarr_service_name }}.entrypoints=websecure
|
- traefik.http.routers.homarr.entrypoints=websecure
|
||||||
- traefik.http.routers.{{ homarr_service_name }}.tls=true
|
- traefik.http.routers.homarr.tls=true
|
||||||
{% else %}
|
{% else %}
|
||||||
- traefik.http.routers.{{ homarr_service_name }}.entrypoints=web
|
- traefik.http.routers.homarr.entrypoints=web
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- traefik.http.services.{{ homarr_service_name }}.loadbalancer.server.port={{ homarr_port }}
|
- traefik.http.services.homarr.loadbalancer.server.port={{ homarr_port }}
|
||||||
networks:
|
networks:
|
||||||
{{ homarr_traefik_network }}:
|
{{ homarr_traefik_network }}:
|
||||||
external: true
|
external: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue