Added start script.
This commit is contained in:
44
start.sh
Normal file
44
start.sh
Normal file
@@ -0,0 +1,44 @@
|
||||
#!/bin/bash
|
||||
clear
|
||||
cd /home/ubuntu/
|
||||
echo "Pulling latest from git repo."
|
||||
git checkout main
|
||||
git pull
|
||||
|
||||
echo "Building reverse proxy"
|
||||
cd nginx-reverse-proxy/
|
||||
docker-compose build
|
||||
cd ../
|
||||
|
||||
echo "Starting Bitwarden..."
|
||||
cd bitwarden/
|
||||
docker-compose up -d
|
||||
cd ../
|
||||
echo "Done"
|
||||
|
||||
echo "Starting gitea..."
|
||||
cd gitea/
|
||||
docker-compose up -d
|
||||
cd ../
|
||||
echo "Done"
|
||||
|
||||
echo "Starting MotionEye..."
|
||||
cd motioneye/
|
||||
docker-compose up -d
|
||||
cd ../
|
||||
echo "Done"
|
||||
|
||||
echo "Starting blog..."
|
||||
cd /web/blog/
|
||||
docker-compose up -d
|
||||
cd ../../
|
||||
echo "Done"
|
||||
|
||||
echo "Starting reverse proxy..."
|
||||
cd nginx-reverse-proxy/
|
||||
docker-compose up -d
|
||||
cd ../
|
||||
echo "Done"
|
||||
|
||||
echo "All containers should be running, running ps -a"
|
||||
docker ps -a
|
||||
Reference in New Issue
Block a user