Refactor everything
This commit is contained in:
parent
2e100d290f
commit
3f2e60becf
69 changed files with 366 additions and 281 deletions
|
@ -1,8 +1,12 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
|
||||
- name: Deploy {{ svc.name }}
|
||||
tags:
|
||||
- homebox
|
||||
- inventory
|
||||
vars:
|
||||
svc: "{{ homebox_svc }}"
|
||||
env: "{{ homebox_env }}"
|
||||
compose: "{{ homebox_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
svc:
|
||||
homebox_svc:
|
||||
domain: inventory.serguzim.me
|
||||
name: homebox
|
||||
port: 7745
|
||||
|
||||
svc_env:
|
||||
homebox_env:
|
||||
HBOX_OPTIONS_ALLOW_REGISTRATION: false
|
||||
HBOX_MAILER_HOST: mail.serguzim.me
|
||||
HBOX_MAILER_PORT: 587
|
||||
|
@ -13,10 +13,9 @@ svc_env:
|
|||
HBOX_MAILER_FROM: Homebox <inventory@serguzim.me>
|
||||
HBOX_SWAGGER_SCHEMA: https
|
||||
|
||||
compose:
|
||||
homebox_compose:
|
||||
watchtower: true
|
||||
image: ghcr.io/hay-kot/homebox:latest-rootless
|
||||
env: true
|
||||
volumes:
|
||||
- data:/data
|
||||
file:
|
||||
|
|
Reference in a new issue