From 437262d6cc11cf9aae2ca97836391b85d098bc3c Mon Sep 17 00:00:00 2001 From: Bert-Jan Fikse Date: Fri, 19 Dec 2025 18:20:49 +0100 Subject: [PATCH] feat: use garage as storage backend using the new plugin to lookup credentials --- inventories/vagrant/host_vars/backend/nextcloud.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/inventories/vagrant/host_vars/backend/nextcloud.yml b/inventories/vagrant/host_vars/backend/nextcloud.yml index d3f92eb..a1a01f9 100644 --- a/inventories/vagrant/host_vars/backend/nextcloud.yml +++ b/inventories/vagrant/host_vars/backend/nextcloud.yml @@ -1 +1,11 @@ -nextcloud_collabora_disable_cert_verification: true \ No newline at end of file +nextcloud_collabora_disable_cert_verification: true + +# S3 storage configuration using Garage +nextcloud_use_s3_storage: true +nextcloud_s3_key: "{{ lookup('digitalboard.core.garage_credentials', 'nextcloud', host='backend')['key_id'] }}" +nextcloud_s3_secret: "{{ lookup('digitalboard.core.garage_credentials', 'nextcloud', host='backend')['secret_key'] }}" +nextcloud_s3_bucket: "nextcloud" +nextcloud_s3_host: "{{ hostvars['backend']['garage_s3_domain'] }}" +nextcloud_s3_port: 443 +nextcloud_s3_ssl: true +nextcloud_s3_usepath_style: true \ No newline at end of file