docs: cross-reference docker-env2 from root README, CLAUDE.md, and infra README

This commit is contained in:
Joseph Doherty
2026-05-24 07:17:41 -04:00
parent 0ee914e36c
commit f63d379048
3 changed files with 20 additions and 0 deletions

View File

@@ -37,6 +37,16 @@ docker exec -i scadalink-mssql /opt/mssql-tools18/bin/sqlcmd \
-i /docker-entrypoint-initdb.d/machinedata_seed.sql
```
For the second environment (`docker-env2/`), also apply the env2 database setup:
```bash
docker exec -i scadalink-mssql /opt/mssql-tools18/bin/sqlcmd \
-S localhost -U sa -P 'ScadaLink_Dev1#' -C \
-i /docker-entrypoint-initdb.d/setup-env2.sql
```
This creates `ScadaLinkConfig2` and `ScadaLinkMachineData2` databases on the same MSSQL instance. The script is also invoked automatically by `docker-env2/deploy.sh` via `docker-env2/init-db.sh`, so manual application here is only needed if you want the databases ready before first env2 deploy.
## Stopping & Teardown
**Stop containers** (data persists in SQL volume):