solution
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Restore one worker replica after scripts/stop-worker.sh.
|
||||
set -eu
|
||||
stack=${STACK_NAME:-lab5}
|
||||
docker service scale "${stack}_worker=1" >/dev/null
|
||||
printf 'worker scaled to 1\n'
|
||||
Reference in New Issue
Block a user