不要怂,就是干,撸起袖子干!

You need to sign in or sign up before continuing.
stop.sh 323 Bytes
#!/usr/bin/env bash
set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" # https://stackoverflow.com/a/17744637


docker-compose -p sequelize-postgres-10 down --remove-orphans

echo "Local Postgres-10 instance stopped (if it was running)."