fleet-manager: add Makefile that sets COMPOSE_ENV_FILES for you

`make up` / `logs` / `restart` / `pull` / `build` / `config` / `register-admin`
/ `backup` — each exports COMPOSE_ENV_FILES=defaults.env,.env so plain `make ...`
layers the committed defaults under .env with no manual export or --env-file.
Guards on .env existing (COMPOSE_ENV_FILES requires it) with a clear message.
`make help` lists targets. DEPLOY §1 points at it.
This commit is contained in:
Audiobuzz
2026-07-05 02:14:22 +00:00
parent 45d7101472
commit 8ab11a74c5
2 changed files with 60 additions and 0 deletions
+4
View File
@@ -49,6 +49,10 @@ running compose. Per-command alternative: `docker compose --env-file defaults.en
--env-file .env …`. The Influx token is handed to **both** InfluxDB (its init
admin token) and the manager, so one value wires them.
Or skip the export entirely and use the **Makefile**, which sets
`COMPOSE_ENV_FILES` for you: `make up` / `make logs SERVICE=fleet-manager` /
`make register-admin NAME=you` / `make config` (`make help` lists targets).
## 2. PKI
Three certs, three trust roots — do not conflate them (see README "two planes"):