Added command 'down', to bring down containers

Added the command 'down', which can be used to bring down the docker containers. Equivalent to running 'docker-compose down'
This commit is contained in:
Fredrik Walløe 2023-04-01 11:23:27 +02:00 committed by GitHub
parent 499ff58a65
commit b1962ef75d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
bw-dev
View file

@ -77,6 +77,9 @@ case "$CMD" in
up) up)
docker-compose up --build "$@" docker-compose up --build "$@"
;; ;;
down)
docker-compose down
;;
service_ports_web) service_ports_web)
prod_error prod_error
docker-compose run --rm --service-ports web docker-compose run --rm --service-ports web