From 551d099c4a1ddd8cec6c20819600659e5ffda01d Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 19 Mar 2025 20:35:47 +0530 Subject: [PATCH] Reduce default ports --- server/RUNNING.md | 12 +++++++++++- server/compose.yaml | 4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-) 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 (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