Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Notes

Manav Rathic56801c024e1
diff --git a/docs/docs/self-hosting/troubleshooting/docker.md b/docs/docs/self-hosting/troubleshooting/docker.md
index 4c0a3bd0ef..f66b085b48 100644
--- a/docs/docs/self-hosting/troubleshooting/docker.md
+++ b/docs/docs/self-hosting/troubleshooting/docker.md
@@ -5,6 +5,18 @@ description: Fixing docker related errors when trying to self host Ente
# Docker
+## configs
+
+Remember to restart your cluster to ensure changes that you make in the
+`configs` section in `compose.yaml` get picked up.
+
+```sh
+docker compose down
+docker compose up
+```
+
+## post_start
+
The `server/compose.yaml` Docker compose file uses the "post_start" lifecycle
hook to provision the MinIO instance.
diff --git a/server/compose.yaml b/server/compose.yaml
index 4f7d8864a2..8c33de3845 100644
--- a/server/compose.yaml
+++ b/server/compose.yaml
@@ -1,4 +1,5 @@
# Sample docker compose file, not meant for production use.
+
services:
museum:
build:
@@ -7,12 +8,11 @@ services:
GIT_COMMIT: development-cluster
ports:
- 8080:8080 # API
- # - 2112:2112 # Prometheus metrics
+ # - 2112:2112 # Prometheus metrics (uncomment to access externally)
depends_on:
postgres:
condition: service_healthy
environment:
- # Pass-in the config to connect to the DB and MinIO
ENTE_CREDENTIALS_FILE: /credentials.yaml
configs:
- source: credentials_yaml
@@ -61,7 +61,7 @@ services:
image: minio/minio
ports:
- 3200:3200 # MinIO API
- # - 3201:3201 # MinIO Console
+ # - 3201:3201 # MinIO Console (uncomment to access externally)
environment:
MINIO_ROOT_USER: changeme
MINIO_ROOT_PASSWORD: changeme1234