This commit is contained in:
James Turland
2024-10-03 16:35:36 +01:00
parent 083c27f613
commit f76d8e3727
5 changed files with 312 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
db:
host: postgres
port: 5432
name: ente_db
user: pguser
password: pgpass
s3:
are_local_buckets: true
b2-eu-cen:
key: test
secret: testtest
endpoint: https://minio.jimsgarage.co.uk
region: eu-central-2
bucket: b2-eu-cen
wasabi-eu-central-2-v3:
key: test
secret: testtest
endpoint: localhost:3200
region: eu-central-2
bucket: wasabi-eu-central-2-v3
compliance: false
scw-eu-fr-v3:
key: test
secret: testtest
endpoint: localhost:3200
region: eu-central-2
bucket: scw-eu-fr-v3

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# Script used to prepare the minio instance that runs as part of the development
# Docker compose cluster.
while ! mc config host add h0 http://minio:3200 test testtest
do
echo "waiting for minio..."
sleep 0.5
done
cd /data
mc mb -p b2-eu-cen
mc mb -p wasabi-eu-central-2-v3
mc mb -p scw-eu-fr-v3