feat: expose deployment build identity

This commit is contained in:
ik
2026-09-07 18:43:20 +07:00
parent ef8355904c
commit 02b67741f8
9 changed files with 26 additions and 4 deletions
+2
View File
@@ -31,6 +31,8 @@ docker run --rm caddy:2.10.2-alpine caddy hash-password --plaintext 'ОТДЕЛ
./deploy/preflight.sh
```
Перед сборкой запишите текущий `git rev-parse --short HEAD` в `APP_REVISION` файла `.env.production`, чтобы `/ready` однозначно показывал развёрнутый commit.
```bash
docker compose --env-file .env.production -f compose.production.yaml config --quiet
docker compose --env-file .env.production -f compose.production.yaml build