documentation updates

This commit is contained in:
2026-07-17 16:27:06 -07:00
parent 465e7cb9fb
commit 19eb0aee07
2 changed files with 27 additions and 15 deletions
+13 -7
View File
@@ -67,10 +67,8 @@ Open [http://localhost:4200](http://localhost:4200) and ensure the backend is ru
```
.
├── docker-compose.yml # Dev compose (builds from source)
├── docker-compose.prod.yml # Prod override (applied with -f docker-compose.yml -f docker-compose.prod.yml)
├── docker-compose.dev.yml # Dev-sidecar compose (dev container)
├── Dockerfile # Frontend: Node build stage + Nginx serve stage
├── docker-compose.yml # Parameterized base template
├── .devcontainer/ # VS Code dev container
├── docker-entrypoint.sh # Renders nginx config + config.json from env vars
├── nginx.conf.template # Nginx config template (envsubst)
├── config.json.template # Runtime API config template (envsubst)
@@ -292,11 +290,19 @@ Full interactive API docs at [http://localhost:8000/docs](http://localhost:8000/
## Deployment
### Docker Compose (recommended)
To deploy a customer environment, use the `deploy-all.sh` script to deploy everyone:
The app ships as two Docker images — a frontend (Angular + Nginx) and a backend (FastAPI + gunicorn). Build, tag, and push them to your registry, then deploy with Docker Compose.
```bash
./deploy-all.sh
```
#### Build and push
Or deploy a specific customer using their `.env` file:
```bash
docker compose --env-file customers/.env.<customer_name> -p <customer_name> up -d --build
```
The `docker-compose.yml` file is a parameterized template.
```bash
# Frontend