π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rejig
Manav Rathi9a93cc121c1a
diff --git a/server/RUNNING.md b/server/RUNNING.mdindex 444367ed7e..0d2b17c15c 100644--- a/server/RUNNING.md+++ b/server/RUNNING.md@@ -10,18 +10,23 @@ static go binary.This document describes these approaches, and also outlines configuration.-- [Run using Docker using a pre-built Docker image](docs/docker.md)-- [Run using Docker but build an image from source](#build-and-run-using-docker)-- [Running without Docker](#running-without-docker)+- **[Run using pre-built Docker images](quickstart/README.md)**+- [Run using Docker, building image from source](#build-and-run-using-docker)+- [Run without Docker](#running-without-docker)+- [External DB or S3](#pre-built-images)- [Configuration](#configuration)If your mobile app is able to connect to your self hosted instance but is notable to view or upload images, see[help.ente.io/self-hosting/guides/configuring-s3](https://help.ente.io/self-hosting/guides/configuring-s3).+## Run using pre-built Docker images++See [quickstart/README.md](quickstart/README.md).+## Build and run using Docker-Start the cluster+Start the cluster (in the `ente/server` directory)docker compose up --build@@ -179,6 +184,17 @@ For running the tests, you can use the following command:ENV="test" go test -v ./pkg/...go clean -testcache && ENV="test" go test -v ./pkg/...```+## Pre-built images++## server++If you have setup the database and object storage externally and only want to+run Ente's server, you can just pull and run the image from+**`ghcr.io/ente-io/server`**.++```sh+docker pull ghcr.io/ente-io/server+```## Configurationdiff --git a/server/docs/docker.md b/server/docs/docker.mdindex 7c85fa7f23..9be7aa304c 100644--- a/server/docs/docker.md+++ b/server/docs/docker.md@@ -1,77 +1 @@-# Running using published Docker images--Here we describe a way to run an Ente instance using a starter Docker compose-file and using the pre-built Docker images that we publish. This method does not-require you to clone the repository or build any images.--1. Create a directory where you'll run Ente-- ```sh- mkdir ente && cd ente- ```--2. Copy the starter compose.yaml and two of its support files from the- repository onto your directory. You can do it by hand, or use (e.g.) curl-- ```sh- # compose.yaml- curl -LO https://raw.githubusercontent.com/ente-io/ente/main/server/compose.yaml- ```--3. Modify `compose.yaml`. Instead of building from source, we want directly use- the published Docker image from `ghcr.io/ente-io/server`-- ```diff- --- a/server/compose.yaml- +++ b/server/compose.yaml- @@ -1,9 +1,6 @@- services:- museum:- - build:- - context: .- - args:- - GIT_COMMIT: development-cluster- + image: ghcr.io/ente-io/server- ```--4. Create an (empty) configuration file. You can later put your custom- configuration in this if needed.-- ```sh- touch museum.yaml- ```--5. That is all. You can now start everything.-- ```sh- docker compose up- ```--This will start a cluster containing:--- Ente's own server-- PostgresQL (DB)-- MinIO (the S3 layer)--For each of these, it'll use the latest published Docker image.--You can do a quick smoke test by pinging the API:--```sh-curl localhost:8080/ping-```--## Only the server--Alternatively, if you have setup the database and object storage externally and-only want to run Ente's server, you can skip the steps above and directly pull-and run the image from **`ghcr.io/ente-io/server`**.--```sh-docker pull ghcr.io/ente-io/server-```--> [!TIP]->-> For more documentation around self-hosting, see-> **[help.ente.io/self-hosting](https://help.ente.io/self-hosting)**.+Moved to [quickstart/README.md](../quickstart/README.md).diff --git a/server/quickstart/README.md b/server/quickstart/README.mdindex d67b2558a0..8ebe68a144 100644--- a/server/quickstart/README.md+++ b/server/quickstart/README.md@@ -1,5 +1,5 @@-A variant docker compose file that does not require cloning the repository,-using pre-built images instead.+A variant docker compose file that does not require cloning the repository, and+uses pre-built images instead.# WARNING: WIP - THIS DOESN'T WORK AS WRITTEN YET@@ -56,7 +56,7 @@ The quickstart steps above created a Docker compose cluster containing:- Ente's own server, museum- Ente's web app- Postgres (DB)-- minio (the S3 storage)+- Minio (S3 storage)For each of these, it'll use the latest published Docker image.@@ -97,3 +97,11 @@ call out:### Next steps+* Get a login [verification+ code](https://help.ente.io/self-hosting/faq/otp#verification-code).++* Connect to your self hosted instance [from your mobile+ app](https://help.ente.io/self-hosting/guides/custom-server/).++* Modify your setup to allow [uploading from your mobile+ app](https://help.ente.io/self-hosting/guides/configuring-s3).