55The default tags come from ` .env.example ` :
66
77``` text
8- es2e : cryptolabinc/es2e :${VERSION_TAG}
9- es2b : cryptolabinc/es2b :${VERSION_TAG}
10- es2o : cryptolabinc/es2o :${VERSION_TAG}
11- es2c : cryptolabinc/es2c :${VERSION_TAG}
12- postgres: postgres:14.9
13- minio: minio/minio:RELEASE.2023-03-20T20-16-18Z
8+ envector-endpoint : cryptolabinc/envector-endpoint :${VERSION_TAG}
9+ envector-backend : cryptolabinc/envector-backend :${VERSION_TAG}
10+ envector-orchestrator : cryptolabinc/envector-orchestrator :${VERSION_TAG}
11+ envector-compute : cryptolabinc/envector-compute :${VERSION_TAG}
12+ postgres: postgres:14.9
13+ minio: minio/minio:RELEASE.2023-03-20T20-16-18Z
1414```
1515
1616## 🧩 Compose File Layout
1717
1818``` text
1919docker-compose.envector.yml # Core application services
20- docker-compose.gpu.yml # GPU override for es2c
20+ docker-compose.gpu.yml # GPU override for compute
2121docker-compose.infra.yml # Postgres + MinIO (adds readiness deps to core)
2222```
2323
@@ -40,7 +40,7 @@ Optional: you can login manually ahead of time if you prefer.
4040## ✅ Step 2. Prepare Environment
4141
4242``` bash
43- cd envector- deployment/docker-compose
43+ cd deployment/docker-compose
4444# If .env is missing, ./start_envector.sh will auto-create it from .env.example
4545cp .env.example .env # optional
4646```
@@ -51,20 +51,20 @@ Edit `.env` as needed. `COMPOSE_PROJECT_NAME` customises the network/container p
5151
5252## 🔐 License Token
5353
54- - Docker-mounted path: the container reads the token at ` /es2 /license/token.jwt ` (source file on host: ` docker-compose/token.jwt ` ).
54+ - Docker-mounted path: the container reads the token at ` /envector /license/token.jwt ` (source file on host: ` docker-compose/token.jwt ` ).
5555- If ` token.jwt ` is missing, ` ./start_envector.sh ` will prompt for a path and copy the file to ` docker-compose/token.jwt ` automatically.
56- - The ` es2c ` service reads the token from the Docker-mounted path ` /es2 /license/token.jwt ` ; the compose file mounts it for you:
56+ - The ` envector-compute ` service reads the token from the Docker-mounted path ` /envector /license/token.jwt ` ; the compose file mounts it for you:
5757
5858``` yaml
5959environment :
60- ES2_LICENSE_TOKEN : " ${ES2_LICENSE_TOKEN :-/es2 /license/token.jwt}"
60+ ENVECTOR_LICENSE_TOKEN : " ${ENVECTOR_LICENSE_TOKEN :-/envector /license/token.jwt}"
6161# License file mount. Place your license token.jwt file in the same directory as this docker-compose file.
6262volumes :
63- - ./token.jwt:/es2 /license/token.jwt
63+ - ./token.jwt:/envector /license/token.jwt
6464` ` `
6565
66- - You normally don’t need to set ` ES2_LICENSE_TOKEN ` in `.env`; it matches the Docker-mounted path above.
67- - If you change the token filename or path, update both `ES2_LICENSE_TOKEN ` and the `volumes` mapping in `docker-compose/docker-compose.envector.yml` accordingly.
66+ - You normally don’t need to set ` ENVECTOR_LICENSE_TOKEN ` in `.env`; it matches the Docker-mounted path above.
67+ - If you change the token filename or path, update both `ENVECTOR_LICENSE_TOKEN ` and the `volumes` mapping in `docker-compose/docker-compose.envector.yml` accordingly.
6868
6969---
7070
@@ -83,18 +83,20 @@ Recommended (helper script in this directory):
8383./start_envector.sh --gpu
8484
8585# Scale workers
86- ./start_envector.sh --num-es2c 4 # CPU-only: scale es2c =4
87- ./start_envector.sh --gpu --num-es2c 2 # GPU: gpu0 + gpu1
86+ ./start_envector.sh --num-compute 4 # CPU-only: scale compute =4
87+ ./start_envector.sh --gpu --num-compute 2 # GPU: gpu0 + gpu1
8888
8989# Project/env/log options
90- ./start_envector.sh -p my-es2 --env-file ./.env --log-file ./docker-logs.log
90+ ./start_envector.sh -p my-envector --env-file ./.env --log-file ./docker-logs.log
9191
9292# Inline env overrides (higher precedence than .env)
93- ./start_envector.sh ES2E_HOST_PORT=50055 VERSION_TAG=dev
93+ ./start_envector.sh ENVECTOR_ENDPOINT_HOST_PORT=50055 VERSION_TAG=dev
94+ ./start_envector.sh ENVECTOR_HTTP_HEALTH_HOST_PORT=18081
95+ ./start_envector.sh ENVECTOR_ADMIN_API_ENABLED=true
9496
9597# Stop the stack (use -p if you set a project)
9698./start_envector.sh --down # also tears down GPU services automatically
97- # e.g., ./start_envector.sh -p my-es2 --down
99+ # e.g., ./start_envector.sh -p my-envector --down
98100# Remove volumes as well when stopping
99101./start_envector.sh --down --down-volumes
100102` ` `
@@ -126,17 +128,41 @@ docker compose \
126128 up -d
127129` ` `
128130
131+ HTTP health endpoints :
132+
133+ ` ` ` bash
134+ curl http://localhost:${ENVECTOR_HTTP_HEALTH_HOST_PORT:-18080}/health
135+ curl http://localhost:${ENVECTOR_HTTP_HEALTH_HOST_PORT:-18080}/health/ready
136+ ` ` `
137+
138+ Admin API :
139+
140+ ` ` ` bash
141+ curl http://localhost:${ENVECTOR_HTTP_HEALTH_HOST_PORT:-18080}/admin/services
142+ curl http://localhost:${ENVECTOR_HTTP_HEALTH_HOST_PORT:-18080}/admin/indexes
143+ curl http://localhost:${ENVECTOR_HTTP_HEALTH_HOST_PORT:-18080}/admin/keys
144+ curl "http://localhost:${ENVECTOR_HTTP_HEALTH_HOST_PORT:-18080}/admin/indexes/sample-index/operations/request-123?operation_type=INSERT"
145+ curl http://localhost:${ENVECTOR_HTTP_HEALTH_HOST_PORT:-18080}/admin/keys/key-1
146+ ` ` `
147+
148+ Enable it with :
149+
150+ ` ` ` bash
151+ ENVECTOR_ADMIN_API_ENABLED=true
152+ ` ` `
153+
154+ Swagger :
155+
156+ ` ` ` bash
157+ open http://localhost:${ENVECTOR_HTTP_HEALTH_HOST_PORT:-18080}/swagger/
158+ ` ` `
159+
129160To inspect the final configuration before starting :
130161
131162` ` ` bash
132163docker compose -f docker-compose.envector.yml -f docker-compose.infra.yml --env-file .env config
133164` ` `
134165
135- Notes on scaling
136- - CPU-only : ` --scale es2c=N` (manual) or `./start_envector.sh --num-es2c N` (script).
137- - GPU : ` ./start_envector.sh --gpu --num-es2c N` enables N GPU workers (base gpu0 plus additional).
138- Extend beyond 4 GPUs by editing `docker-compose.gpu.yml`.
139-
140166---
141167
142168# # ✅ Step 4. Collect Logs
0 commit comments