feat: add script to pull latest Docker images for monitoring stack
parent
37d6d0be4a
commit
99f02db4a4
|
@ -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."
|
Loading…
Reference in New Issue