Update setup.sh

This commit is contained in:
Ronny Grebner 2023-06-22 11:42:29 +00:00
parent 1893fd8c0d
commit 999e9a0a67

View File

@ -2,6 +2,7 @@
BASE_URL=https://git.cringe-studios.com/CringeStudios/cloud-computing/raw/branch/main/owncloud
HOSTNAME=owncloud-0
DATABASE_HOST_IP=10.0.0.40
apt update
apt install -y docker docker-compose
@ -13,3 +14,5 @@ cd /home/ubuntu
wget -O docker-compose.yml $BASE_URL/docker-compose.yml
wget -O .env $BASE_URL/.env
wget -O fstab $BASE_URL/fstab
sed -i "s/dbhostip/${DATABASE_HOST_IP}/" .env