serving: defaults.env header + Makefile + .gitignore + doc refs

Completes the rename commit (which carried only the file move): defaults.env
layering header, docker-compose usage comment, serving/Makefile (sets
COMPOSE_ENV_FILES), serving/.gitignore (.env), and the README/TODO references.
This commit is contained in:
Audiobuzz
2026-07-10 06:19:11 +00:00
parent cbc679c5bd
commit d85a1e5b23
6 changed files with 71 additions and 7 deletions
+5 -3
View File
@@ -43,10 +43,12 @@ Keep `nvmet_traddr` (UKI) == `NVME_HOST` (this stack's `.env`).
```bash
cd serving
cp .env.example .env # edit IMAGE_VERSION, BOOT_IFACE, SERVER_IP, DHCP range
# config = committed defaults.env + your .env overrides, layered (or use `make`):
export COMPOSE_ENV_FILES=defaults.env,.env
printf 'IMAGE_VERSION=<ver>\nBOOT_IFACE=<iface>\nSERVER_IP=<ip>\n' > .env # + DHCP range
docker login git.bitasylum.org
docker compose up -d --build
docker compose ps
docker compose up -d --build # or simply: make up
docker compose ps # or: make ps
```
`IMAGE_VERSION` must match the built tag (e.g. a branch build is