From 025e6d02ea08c46ef831a70f0ae1a41036c5a7c9 Mon Sep 17 00:00:00 2001 From: Quentin BEY Date: Mon, 6 Jul 2026 17:42:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(local)=20update=20container=20expo?= =?UTF-8?q?sed=20ports?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows to run several projects of LaSuite, side by side without having to modify the port exposed each time. --- README.md | 18 +++++++++++++++++- compose.yml | 12 +++++++----- docs/system-requirements.md | 12 ------------ 3 files changed, 24 insertions(+), 18 deletions(-) delete mode 100644 docs/system-requirements.md diff --git a/README.md b/README.md index 40b4c76b..cc7595c8 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,22 @@ dependency-related or migration-related issues. Your Docker services should now be up and running 🎉 +### Development Services + +When running the project, the following services are available: + +| Service | URL / Port | Description | Credentials | +|--------------------------|---------------------------------------------------|---------------------------------|-------------------------------| +| **Frontend** | N/A | | | +| **Backend API** | [http://localhost:10001](http://localhost:10001) | Django | `admin@example.com` / `admin` | +| **Keycloak** | N/A | | | +| **Nginx** | N/A | | | +| **PostgreSQL** | 10012 | Database server | `dinum` / `pass` | +| **Redis** | 10013 | Cache and message broker | No auth required | +| **Opensearch** | [http://localhost:10014](http://localhost:10014) | Document storage | No auth required | +| **Opensearch admin** | 10015 | OpenSearch Performance Analyzer | | +| **Opensearch dashboard** | [http://localhost:10016](http://localhost:10016) | Opensearch UI | No auth required | + ### Adding content You can create a basic demo site by running: @@ -73,7 +89,7 @@ $ make help ### Django admin You can access the Django admin site at -[http://localhost:8071/admin](http://localhost:8071/admin). +[http://localhost:10001/admin](http://localhost:10001/admin). You first need to create a superuser account: diff --git a/compose.yml b/compose.yml index 35f1c46b..d9d5e8e9 100644 --- a/compose.yml +++ b/compose.yml @@ -6,7 +6,7 @@ services: env_file: - env.d/development/postgresql ports: - - "25432:5432" + - "10012:5432" opensearch: image: opensearchproject/opensearch:latest @@ -22,8 +22,8 @@ services: volumes: - ./data/opensearch:/usr/share/opensearch/data ports: - - "9200:9200" - - "9600:9600" + - "10014:9200" + - "10015:9600" healthcheck: test: ["CMD", "curl", "--head", "-fsS", "http://localhost:9200/"] start_period: 5s @@ -34,7 +34,7 @@ services: opensearch-dashboards: image: opensearchproject/opensearch-dashboards:latest ports: - - "5601:5601" + - "10016:5601" environment: OPENSEARCH_HOSTS: '["http://opensearch:9200"]' DISABLE_SECURITY_DASHBOARDS_PLUGIN: "true" @@ -45,6 +45,8 @@ services: redis: image: redis:5 + ports: + - "10013:6379" app: build: @@ -61,7 +63,7 @@ services: - env.d/development/common - env.d/development/postgresql ports: - - "8081:8000" + - "10001:8000" networks: default: {} lasuite: diff --git a/docs/system-requirements.md b/docs/system-requirements.md deleted file mode 100644 index 589a2017..00000000 --- a/docs/system-requirements.md +++ /dev/null @@ -1,12 +0,0 @@ -# La Suite Find – System & Requirements - -## Ports (dev defaults) - -| Port | Service | -| --------- | --------------------- | -| 8081 | Django (main) | -| 8083 | Nginx proxy | -| 25432 | PostgreSQL (main) | -| 9200 | Opensearch | -| 9600 | Opensearch admin | -| 5601 | Opensearch dashboard |