Skip to content

armgit / ente

Public Imported from GitHub
0

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

Reduce default ports

Manav Rathi551d099c4a1d
diff --git a/server/RUNNING.md b/server/RUNNING.md
index 666ddc602f..444367ed7e 100644
--- a/server/RUNNING.md
+++ b/server/RUNNING.md
@@ -46,7 +46,17 @@ Or interact with the MinIO S3 API
AWS_ACCESS_KEY_ID=changeme AWS_SECRET_ACCESS_KEY=changeme1234 \
aws s3 --endpoint-url http://localhost:3200 ls s3://b2-eu-cen
-Or open the MinIO dashboard at <http://localhost:3201> (user: changeme/password: changeme1234).
+Or open the MinIO dashboard at http://localhost:3201
+
+> [!NOTE]
+>
+> To avoid exposing unnecessary services, this port is not exposed by default.
+> You'll need to uncomment the corresponding port in your `compose.yaml` first.
+
+> [!WARNING]
+>
+> The default credentials are user changeme / password changeme1234. Goes
+> without saying, but remember to change them!
> [!NOTE]
>
diff --git a/server/compose.yaml b/server/compose.yaml
index 91552ea33f..4f7d8864a2 100644
--- a/server/compose.yaml
+++ b/server/compose.yaml
@@ -7,7 +7,7 @@ services:
GIT_COMMIT: development-cluster
ports:
- 8080:8080 # API
- - 2112:2112 # Prometheus metrics
+ # - 2112:2112 # Prometheus metrics
depends_on:
postgres:
condition: service_healthy
@@ -61,7 +61,7 @@ services:
image: minio/minio
ports:
- 3200:3200 # MinIO API
- - 3201:3201 # MinIO Console
+ # - 3201:3201 # MinIO Console
environment:
MINIO_ROOT_USER: changeme
MINIO_ROOT_PASSWORD: changeme1234