Files
opensim-docker/image-opensim/stop-opensim.sh
T
Robert Adams b206189023 Change all invocations of "docker-compose" to "docker compose" thus
using the compose function that's integrated into the newer versions of Docker.
2025-01-19 19:24:39 +00:00

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