mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
17 lines
350 B
Bash
17 lines
350 B
Bash
#!/bin/bash
|
|
|
|
# This script runs the local development server in Docker.
|
|
if [[ ! $(which docker) && ! $(docker --version) ]]
|
|
then
|
|
echo -e "\033[91mPlease install Docker. https://docs.docker.com/install"
|
|
exit
|
|
fi
|
|
|
|
sudo chmod +x ./uninstall.sh
|
|
sudo ./uninstall.sh
|
|
|
|
# Sleep
|
|
sleep 5s
|
|
|
|
#Docker compose up as a daemon.
|
|
sudo docker-compose up -d --build |