This commit is contained in:
Manav Rathi
2025-03-19 20:41:50 +05:30
parent 551d099c4a
commit c56801c024
2 changed files with 15 additions and 3 deletions

View File

@@ -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.

View File

@@ -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