cloud-computing/galera/setup.sh

14 lines
355 B
Bash

#!/bin/bash
BASE_URL=https://git.cringe-studios.com/CringeStudios/cloud-computing/raw/branch/main
FOLDER=galera/bootstrap
FULL_COMPOSE_URL=$BASE_URL/$FOLDER/docker-compose.yml
FULL_ENV_URL=$BASE_URL/$FOLDER/.env
apt update
apt install -y docker docker-compose
cd /home/cc-student
wget -O docker-compose.yml $FULL_COMPOSE_URL
wget -O .env $FULL_ENV_URL