chore: deploy garage role to vagrant backend host and expose webui
This commit is contained in:
parent
102b1d487f
commit
b129b7e146
4 changed files with 17 additions and 0 deletions
4
inventories/vagrant/host_vars/backend/garage.yml
Normal file
4
inventories/vagrant/host_vars/backend/garage.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Garage configuration for backend host
|
||||||
|
garage_s3_domain: "storage.local.test"
|
||||||
|
garage_webui_domain: "console.storage.local.test"
|
||||||
|
garage_webui_enabled: true
|
||||||
|
|
@ -8,6 +8,10 @@ traefik_services:
|
||||||
domain: keycloak.local.test
|
domain: keycloak.local.test
|
||||||
port: 443
|
port: 443
|
||||||
protocol: https
|
protocol: https
|
||||||
|
- name: garage-webui
|
||||||
|
domain: console.storage.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
|
||||||
|
|
|
||||||
|
|
@ -33,4 +33,7 @@ backend
|
||||||
backend2
|
backend2
|
||||||
|
|
||||||
[keycloak_servers]
|
[keycloak_servers]
|
||||||
|
backend
|
||||||
|
|
||||||
|
[garage_servers]
|
||||||
backend
|
backend
|
||||||
|
|
@ -23,6 +23,12 @@
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.keycloak
|
- digitalboard.core.keycloak
|
||||||
|
|
||||||
|
- name: Deploy garage service
|
||||||
|
hosts: garage_servers
|
||||||
|
become: yes
|
||||||
|
roles:
|
||||||
|
- digitalboard.core.garage
|
||||||
|
|
||||||
- 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue