mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
28 lines
360 B
Bash
Executable File
28 lines
360 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
|
|
# If its not environment IS_DOCKER then exit
|
|
|
|
if [[ $IS_DOCKER == "true" ]]
|
|
then
|
|
echo "This script should run in the docker container."
|
|
else
|
|
# Pull latest changes
|
|
git pull
|
|
fi
|
|
|
|
set -a
|
|
|
|
bash configure.sh
|
|
|
|
# Load env values from config.env
|
|
set -a
|
|
source config.env
|
|
set +a
|
|
|
|
docker compose pull
|
|
|
|
# Start all containers.
|
|
npm start
|
|
|