mirror of
https://github.com/thaldrin/thaldrin.git
synced 2024-08-14 23:57:21 +00:00
20 lines
No EOL
341 B
Bash
Executable file
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 |