aboutsummaryrefslogtreecommitdiff
path: root/app/bad.nextcloud/config/litestream.yml
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-19 18:03:31 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-19 18:03:31 +0100
commit4836bdd4b27067f8f6da27915fc7eca97a23294b (patch)
treea9f96d044d5799a52e23ac82733324c2f0efd619 /app/bad.nextcloud/config/litestream.yml
parent60f1615a12c7c8b633b672ef7e829c91a6322cbe (diff)
downloadnixcfg-4836bdd4b27067f8f6da27915fc7eca97a23294b.tar.gz
nixcfg-4836bdd4b27067f8f6da27915fc7eca97a23294b.zip
Try nextcloud but fail because of permissions on .db file
Diffstat (limited to 'app/bad.nextcloud/config/litestream.yml')
-rw-r--r--app/bad.nextcloud/config/litestream.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/bad.nextcloud/config/litestream.yml b/app/bad.nextcloud/config/litestream.yml
new file mode 100644
index 0000000..46eca93
--- /dev/null
+++ b/app/bad.nextcloud/config/litestream.yml
@@ -0,0 +1,10 @@
+dbs:
+ - path: /ephemeral/nextcloud.db
+ replicas:
+ - url: s3://nextcloud-db/nextcloud.db
+ region: garage-staging
+ endpoint: http://{{ env "attr.unique.network.ip-address" }}:3990
+ access-key-id: {{ key "secrets/nextcloud/s3_access_key" | trimSpace }}
+ secret-access-key: {{ key "secrets/nextcloud/s3_secret_key" | trimSpace }}
+ force-path-style: true
+ sync-interval: 60s