mirror of
https://github.com/bitwarden/server
synced 2025-12-11 13:53:40 +00:00
stop script
This commit is contained in:
20
scripts/stop.sh
Normal file
20
scripts/stop.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
DOCKER_DIR=$DIR/../docker
|
||||
if [ $# -eq 1 ]
|
||||
then
|
||||
DOCKER_DIR=$1
|
||||
fi
|
||||
|
||||
OS="linux"
|
||||
if [ "$(uname)" == "Darwin" ]
|
||||
then
|
||||
OS="macwin"
|
||||
fi
|
||||
|
||||
docker --version
|
||||
docker-compose --version
|
||||
|
||||
docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.$OS.yml down
|
||||
Reference in New Issue
Block a user