chore: Deploy Homarr Service

This commit is contained in:
Tobias Wüst 2026-01-22 14:53:21 +01:00
parent b0c62bbef9
commit 9389af700d
Signed by: Tobias-Wuest
GPG key ID: 2D8992B0F4CA97E8
4 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,11 @@
homarr_domain: "home.local.test"
homarr_secret_dir: "{{ playbook_dir }}/secrets/{{ inventory_hostname }}"
homarr_secret_file: "homarr_secret_encryption_key"
homarr_secret_length: 64
homarr_secret_encryption_key: >-
{{ lookup('ansible.builtin.password',
homarr_secret_dir ~ '/' ~ homarr_secret_file,
length=homarr_secret_length,
chars='hexdigits') }}

View file

@ -24,6 +24,10 @@ traefik_services:
domain: authentik.local.test domain: authentik.local.test
port: 443 port: 443
protocol: https protocol: https
- name: homarr
domain: home.local.test
port: 443
protocol: https
# Example: Add more services as you deploy them # Example: Add more services as you deploy them
# - name: forgejo # - name: forgejo
# domain: git.example.com # domain: git.example.com

View file

@ -43,3 +43,6 @@ backend
[nextcloud_servers] [nextcloud_servers]
backend backend
[homarr_servers]
backend

View file

@ -41,6 +41,12 @@
roles: roles:
- digitalboard.core.authentik - digitalboard.core.authentik
- name: Deploy homarr service
hosts: homarr_servers
become: yes
roles:
- digitalboard.core.homarr
- name: Configure reverse proxy on DMZ servers - name: Configure reverse proxy on DMZ servers
hosts: traefik_servers_dmz hosts: traefik_servers_dmz
become: yes become: yes