mirror of
https://github.com/Misterblue/opensim-docker.git
synced 2026-07-30 03:12:41 +00:00
19 lines
388 B
Bash
Executable File
19 lines
388 B
Bash
Executable File
#! /bin/bash
|
|
# Stop the running opensimulator
|
|
|
|
BASE=$(pwd)
|
|
|
|
# Get the container parameters into the environment
|
|
# source ./envToEnvironment.sh
|
|
source ./env
|
|
|
|
export OS_CONFIG=${OS_CONFIG:-standalone}
|
|
|
|
echo "Stopping configuration $OS_CONFIG from docker-compose.sh"
|
|
|
|
docker-compose \
|
|
--file docker-compose.yml \
|
|
--env-file ./env \
|
|
--project-name opensim-${OS_CONFIG} \
|
|
down
|