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:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user