feat: add script to pull latest Docker images for monitoring stack

main
Supan Adit Pratama 2025-06-24 10:27:59 +07:00
parent 37d6d0be4a
commit 99f02db4a4
1 changed files with 52 additions and 0 deletions

52
scripts/pulling.ps1 Normal file
View File

@ -0,0 +1,52 @@
# Get Current Directory
$curDir = Get-Location
# Go to $curDir/docker/alloy
Set-Location "$curDir/docker/alloy"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/cadvisor
Set-Location "$curDir/docker/cadvisor"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/grafana
Set-Location "$curDir/docker/grafana"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/loki
Set-Location "$curDir/docker/loki"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/minio
Set-Location "$curDir/docker/minio"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/pyroscope
Set-Location "$curDir/docker/pyroscope"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/tempo
Set-Location "$curDir/docker/tempo"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/thanos
Set-Location "$curDir/docker/thanos"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/traefik
Set-Location "$curDir/docker/traefik"
# Pull the latest image from Docker Hub
docker compose pull
# Back to the original directory
Set-Location $curDir
Write-Host "All Docker images have been pulled successfully."