update setup

This commit is contained in:
MrLetsplay 2023-06-14 12:44:00 +02:00
parent f5e8ac12fa
commit 15b36326ba

View File

@ -2,6 +2,7 @@
BASE_URL=https://git.cringe-studios.com/CringeStudios/cloud-computing/raw/branch/main
FOLDER=galera/bootstrap
HOSTNAME=galera-node-0
FULL_COMPOSE_URL=$BASE_URL/$FOLDER/docker-compose.yml
FULL_ENV_URL=$BASE_URL/$FOLDER/.env
@ -9,6 +10,8 @@ FULL_ENV_URL=$BASE_URL/$FOLDER/.env
apt update
apt install -y docker docker-compose
cd /home/cc-student
hostnamectl set-hostename $HOSTNAME
cd /home/ubuntu
wget -O docker-compose.yml $FULL_COMPOSE_URL
wget -O .env $FULL_ENV_URL