Episode 18: Portainer CE, Arcane, Dockge and Komodo measured next to a running stack
This commit is contained in:
parent
55b2fe7646
commit
76a3132a17
42 changed files with 1639 additions and 0 deletions
16
managers/testcompose.sh
Normal file
16
managers/testcompose.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# writetest DIR N: kleiner Test-Stack, zwei whoami, einer exakt alt, einer "latest" lokal veraltet
|
||||
writetest() { mkdir -p $1; cat > $1/compose.yaml <<YML
|
||||
services:
|
||||
pinned:
|
||||
image: traefik/whoami:v1.11.0 # exakter, absichtlich alter Tag (neu: v1.12.0)
|
||||
environment:
|
||||
- RUN=$2
|
||||
restart: unless-stopped
|
||||
floating:
|
||||
image: traefik/whoami:latest # lokal steht hier v1.10.4 (umgetaggt), Registry hat v1.12.0
|
||||
environment:
|
||||
- RUN=$2
|
||||
restart: unless-stopped
|
||||
YML
|
||||
}
|
||||
stale_latest() { docker pull -q traefik/whoami:v1.10.4 >/dev/null && docker tag traefik/whoami:v1.10.4 traefik/whoami:latest && docker image inspect -f 'traefik/whoami:latest local = {{.Id}} {{.RepoDigests}}' traefik/whoami:latest; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue