Add homebox service
This commit is contained in:
parent
3831ac4244
commit
ccf7f7a598
6 changed files with 37 additions and 4 deletions
7
_ansible/roles/homebox/tasks/main.yml
Normal file
7
_ansible/roles/homebox/tasks/main.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Deploy {{ svc.name }}
|
||||
tags:
|
||||
- homebox
|
||||
- inventory
|
||||
block:
|
||||
- import_tasks: deploy-common-service.yml
|
24
_ansible/roles/homebox/vars/main.yml
Normal file
24
_ansible/roles/homebox/vars/main.yml
Normal 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:
|
||||
|
Reference in a new issue