Merge pull request #95 from trails-cool/fix-grafana-cd-password
Sync Grafana admin password on deploy
This commit is contained in:
commit
206f6ac941
1 changed files with 4 additions and 1 deletions
5
.github/workflows/cd.yml
vendored
5
.github/workflows/cd.yml
vendored
|
|
@ -123,6 +123,9 @@ jobs:
|
|||
# Clean up old images to prevent disk full
|
||||
docker image prune -af
|
||||
|
||||
# Verify services are running
|
||||
# Sync Grafana admin credentials (env vars only work on first boot)
|
||||
sleep 10
|
||||
docker compose exec -T grafana grafana cli admin reset-admin-password "$GRAFANA_PASSWORD" || true
|
||||
|
||||
# Verify services are running
|
||||
docker compose ps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue