mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-17 04:50:15 +02:00
Shutdown all docker containers if one fails
... will then be restarted by systemd
This commit is contained in:
@ -51,7 +51,7 @@ set +a
|
|||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
start)
|
start)
|
||||||
checkRequirements
|
checkRequirements
|
||||||
exec docker-compose -f ./$PROJECT/docker-compose.yml up
|
exec docker-compose -f ./$PROJECT/docker-compose.yml up --abort-on-container-exit
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
exec docker-compose -f ./$PROJECT/docker-compose.yml down
|
exec docker-compose -f ./$PROJECT/docker-compose.yml down
|
||||||
|
Reference in New Issue
Block a user