Files
lincodex/deploy/README.en.md
T

30 lines
1.3 KiB
Markdown

# Deployment
[Русский](README.md) | English
Docker Compose, Nginx, and startup tools. Dockerfiles live in service directories; the shared `.env.example` is at the repository root.
| Directory | Purpose |
| --- | --- |
| `docker/` | Core stack and separate Compose files for ML, monitoring, demo, E2E, and the dev runner |
| `nginx/` | SPA serving and API proxy to Go |
| `edge/` | Public HTTPS proxy and private tunnel templates |
| `labs/` | LXD networks, code runner VM, and labd systemd configuration |
| `ml-gpu/` | ML on a GPU host through systemd |
| `demo/`, `scripts/` | Synthetic data, checks, and release tooling |
| `release/` | Local release manifests, excluded from Git |
From the repository root:
```sh
make -C deploy help
make -C deploy config
make -C deploy up
```
`config` validates examples; `up` requires a prepared `.env` and starts core only. ML and monitoring start separately; monitoring and local ML need the existing core network. `down` preserves volumes.
For a demonstration: `make -C deploy demo-seed DEMO_MODE=isolated`. For checks: `make -C deploy check`, `smoke`, or `test-e2e`. The latter two create and remove their own stands.
Secrets, HTTPS, runner, and release instructions: [DEPLOYMENT.md](../docs/en/DEPLOYMENT.md). Test scenarios: [TESTING.md](../docs/en/TESTING.md).