π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathia4bc596b66c1
diff --git a/server/compose.yaml b/server/compose.yamlindex 727d1f8d77..3702ecab2c 100644--- a/server/compose.yaml+++ b/server/compose.yaml@@ -1,5 +1,4 @@-# Please note that the below docker compose is NOT directly-# meant to be copy pasted and deployed to production.+# Sample docker compose file, not meant for production use.services:museum:build:@@ -81,17 +80,30 @@ services:depends_on:- miniovolumes:- - ./scripts/compose/minio-provision.sh:/provision.sh:ro- minio-data:/datanetworks:- internal- entrypoint: sh /provision.sh+ entrypoint: |+ sh -c '+ #!/bin/sh++ while ! mc config host add h0 http://minio:3200 changeme changeme1234+ 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+ 'volumes:custom-logs:postgres-data:minio-data:-networks:internal:diff --git a/server/docs/docker.md b/server/docs/docker.mdindex 4b3c126cd8..c1233cc2f2 100644--- a/server/docs/docker.md+++ b/server/docs/docker.md@@ -23,9 +23,6 @@ require you to clone the repository or build any images.# scripts/compose/credentials.yamlcurl -LO https://raw.githubusercontent.com/ente-io/ente/main/server/scripts/compose/credentials.yaml- # scripts/compose/minio-provision.sh- curl -LO https://raw.githubusercontent.com/ente-io/ente/main/server/scripts/compose/minio-provision.sh-cd ../..```diff --git a/server/docs/publish.md b/server/docs/publish.mdindex 0c6ee2e4f5..04b1171fcc 100644--- a/server/docs/publish.md+++ b/server/docs/publish.md@@ -16,7 +16,7 @@ use this new image (see [deploy/README](../scripts/deploy/README.md)).## External-Periodically, we can republish a new image from an existing known-to-be-good+Periodically, we republish a new image from an existing known-to-be-goodcommit to the GitHub Container Registry (GHCR) so that it can be used by folkswithout needing to clone our repository just for building an image. For moredetails about the use case, see [docker.md](docker.md).diff --git a/server/scripts/compose/README.md b/server/scripts/compose/README.mdindex e9593ac806..688e306a7c 100644--- a/server/scripts/compose/README.md+++ b/server/scripts/compose/README.md@@ -1,6 +1,8 @@A variant docker compose file that does not require cloning the repository, andinstead uses pre-built images.+**TODO: Not done yet, a future standalone compose file will live here.**+### DetailsThis folder contains a `compose.yaml` file that is a variant of the top level@@ -16,5 +18,5 @@ This folder contains a `compose.yaml` file that is a variant of the top levelFor more details about how to use it, see [docker.md](../../docs/docker.md).-This folder also contains some other files that are required by (both) these+This folder also contains a credentials file that is required by (both) thesedocker compose files.diff --git a/server/scripts/compose/minio-provision.sh b/server/scripts/compose/minio-provision.shdeleted file mode 100755index ae60318804..0000000000--- a/server/scripts/compose/minio-provision.sh+++ /dev/null@@ -1,16 +0,0 @@-#!/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 changeme changeme1234-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