add code for level 4
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
# Equivalent to a rolling update for this two-replica Compose topology.
|
||||
# Build the image separately; this hook only replaces one healthy API process at a time.
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
for service in api-a api-b; do
|
||||
docker compose up -d --no-deps --force-recreate --wait "$service"
|
||||
done
|
||||
Reference in New Issue
Block a user