Update setup.sh
This commit is contained in:
parent
1893fd8c0d
commit
999e9a0a67
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
BASE_URL=https://git.cringe-studios.com/CringeStudios/cloud-computing/raw/branch/main/owncloud
|
BASE_URL=https://git.cringe-studios.com/CringeStudios/cloud-computing/raw/branch/main/owncloud
|
||||||
HOSTNAME=owncloud-0
|
HOSTNAME=owncloud-0
|
||||||
|
DATABASE_HOST_IP=10.0.0.40
|
||||||
|
|
||||||
apt update
|
apt update
|
||||||
apt install -y docker docker-compose
|
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 docker-compose.yml $BASE_URL/docker-compose.yml
|
||||||
wget -O .env $BASE_URL/.env
|
wget -O .env $BASE_URL/.env
|
||||||
wget -O fstab $BASE_URL/fstab
|
wget -O fstab $BASE_URL/fstab
|
||||||
|
|
||||||
|
sed -i "s/dbhostip/${DATABASE_HOST_IP}/" .env
|
||||||
|
Loading…
Reference in New Issue
Block a user