feat: add nextcloud deployment
This commit is contained in:
parent
b129b7e146
commit
5b6ec5284e
5 changed files with 34 additions and 1 deletions
|
|
@ -1,4 +1,19 @@
|
||||||
# Garage configuration for backend host
|
# Garage configuration for backend host
|
||||||
garage_s3_domain: "storage.local.test"
|
garage_s3_domain: "storage.local.test"
|
||||||
garage_webui_domain: "console.storage.local.test"
|
garage_webui_domain: "console.storage.local.test"
|
||||||
garage_webui_enabled: true
|
garage_webui_enabled: true
|
||||||
|
|
||||||
|
# provisioning
|
||||||
|
garage_bootstrap_enabled: true
|
||||||
|
garage_bootstrap_zone: "ch1"
|
||||||
|
garage_bootstrap_capacity: "1G"
|
||||||
|
|
||||||
|
garage_s3_keys:
|
||||||
|
- name: "nextcloud"
|
||||||
|
buckets:
|
||||||
|
- name: "nextcloud"
|
||||||
|
permissions: ["read", "write"]
|
||||||
|
- name: "nextcloud-backup"
|
||||||
|
buckets:
|
||||||
|
- name: "nextcloud"
|
||||||
|
permissions: ["read"]
|
||||||
1
inventories/vagrant/host_vars/backend/nextcloud.yml
Normal file
1
inventories/vagrant/host_vars/backend/nextcloud.yml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
nextcloud_collabora_disable_cert_verification: true
|
||||||
|
|
@ -12,6 +12,14 @@ traefik_services:
|
||||||
domain: console.storage.local.test
|
domain: console.storage.local.test
|
||||||
port: 443
|
port: 443
|
||||||
protocol: https
|
protocol: https
|
||||||
|
- name: nextcloud
|
||||||
|
domain: nextcloud.local.test
|
||||||
|
port: 443
|
||||||
|
protocol: https
|
||||||
|
- name: nextcloud-collabora
|
||||||
|
domain: office.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
|
||||||
|
|
|
||||||
|
|
@ -36,4 +36,7 @@ backend2
|
||||||
backend
|
backend
|
||||||
|
|
||||||
[garage_servers]
|
[garage_servers]
|
||||||
|
backend
|
||||||
|
|
||||||
|
[nextcloud_servers]
|
||||||
backend
|
backend
|
||||||
|
|
@ -29,6 +29,12 @@
|
||||||
roles:
|
roles:
|
||||||
- digitalboard.core.garage
|
- digitalboard.core.garage
|
||||||
|
|
||||||
|
- name: Deploy nextcloud service
|
||||||
|
hosts: nextcloud_servers
|
||||||
|
become: yes
|
||||||
|
roles:
|
||||||
|
- digitalboard.core.nextcloud
|
||||||
|
|
||||||
- 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