aboutsummaryrefslogtreecommitdiff
path: root/experimental/bad.nextcloud/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-24 15:48:18 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-24 15:48:18 +0200
commit41128f4c36f79def480b8cb866205296d703f247 (patch)
tree1ffaf8cd67d528b0eb9ee7943119157e3efdcfb2 /experimental/bad.nextcloud/config
parent981294e3d7a180a3c08f8173dc652b73b6e2bd07 (diff)
downloadnixcfg-41128f4c36f79def480b8cb866205296d703f247.tar.gz
nixcfg-41128f4c36f79def480b8cb866205296d703f247.zip
Clone core module in staging and prod, move bad stuff to experimental
Diffstat (limited to 'experimental/bad.nextcloud/config')
-rw-r--r--experimental/bad.nextcloud/config/litestream.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/experimental/bad.nextcloud/config/litestream.yml b/experimental/bad.nextcloud/config/litestream.yml
new file mode 100644
index 0000000..46eca93
--- /dev/null
+++ b/experimental/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