update setup
This commit is contained in:
parent
f5e8ac12fa
commit
15b36326ba
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
BASE_URL=https://git.cringe-studios.com/CringeStudios/cloud-computing/raw/branch/main
|
BASE_URL=https://git.cringe-studios.com/CringeStudios/cloud-computing/raw/branch/main
|
||||||
FOLDER=galera/bootstrap
|
FOLDER=galera/bootstrap
|
||||||
|
HOSTNAME=galera-node-0
|
||||||
|
|
||||||
FULL_COMPOSE_URL=$BASE_URL/$FOLDER/docker-compose.yml
|
FULL_COMPOSE_URL=$BASE_URL/$FOLDER/docker-compose.yml
|
||||||
FULL_ENV_URL=$BASE_URL/$FOLDER/.env
|
FULL_ENV_URL=$BASE_URL/$FOLDER/.env
|
||||||
@ -9,6 +10,8 @@ FULL_ENV_URL=$BASE_URL/$FOLDER/.env
|
|||||||
apt update
|
apt update
|
||||||
apt install -y docker docker-compose
|
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 docker-compose.yml $FULL_COMPOSE_URL
|
||||||
wget -O .env $FULL_ENV_URL
|
wget -O .env $FULL_ENV_URL
|
Loading…
Reference in New Issue
Block a user