mirror of https://github.com/thaldrin/thaldrin.git
20 lines
341 B
Plaintext
20 lines
341 B
Plaintext
|
#!/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
|