thaldrin/thaldrin
2021-05-23 05:59:44 +02:00

20 lines
No EOL
341 B
Bash
Executable file

#!/bin/bash
echo "Running Script..."
if [ "$1" == "run" ]; then
echo "Starting Thaldrin..."
docker-compose up -d
exit 0
elif [ "$1" == "build" ]; then
echo "Building Thaldrin..."
docker-compose build
exit 0
elif [ "$1" == "stop" ]; then
echo "Stopping Thaldrin..."
docker-compose down
exit 0
fi
exit 1