aboutsummaryrefslogtreecommitdiff
path: root/app/drone-ci/config/litestream.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/drone-ci/config/litestream.yml')
-rw-r--r--app/drone-ci/config/litestream.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/drone-ci/config/litestream.yml b/app/drone-ci/config/litestream.yml
new file mode 100644
index 0000000..813c824
--- /dev/null
+++ b/app/drone-ci/config/litestream.yml
@@ -0,0 +1,10 @@
+dbs:
+ - path: /ephemeral/drone.db
+ replicas:
+ - url: s3://{{ key "secrets/drone-ci/s3_db_bucket" | trimSpace }}/drone.db
+ region: garage
+ endpoint: https://garage.deuxfleurs.fr
+ access-key-id: {{ key "secrets/drone-ci/s3_ak" | trimSpace }}
+ secret-access-key: {{ key "secrets/drone-ci/s3_sk" | trimSpace }}
+ force-path-style: true
+ sync-interval: 60s