Add homebox service

This commit is contained in:
Tobias Reisinger 2023-11-18 23:42:58 +01:00
parent 3831ac4244
commit ccf7f7a598
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 37 additions and 4 deletions
_ansible/roles/homebox

View file

@ -0,0 +1,7 @@
---
- name: Deploy {{ svc.name }}
tags:
- homebox
- inventory
block:
- import_tasks: deploy-common-service.yml

View file

@ -0,0 +1,24 @@
svc:
domain: "inventory.serguzim.me"
name: homebox
port: 7745
svc_env:
HBOX_OPTIONS_ALLOW_REGISTRATION: false
HBOX_MAILER_HOST: mail.serguzim.me
HBOX_MAILER_PORT: 587
HBOX_MAILER_USERNAME: inventory@serguzim.me
HBOX_MAILER_PASSWORD: "{{ vault_homebox.mailer_passwd }}"
HBOX_MAILER_FROM: Homebox <inventory@serguzim.me>
HBOX_SWAGGER_SCHEMA: https
compose:
watchtower: true
image: ghcr.io/hay-kot/homebox:latest-rootless
env: true
volumes:
- data:/data
file:
volumes:
data: