update pre script
This commit is contained in:
parent
010c06f79f
commit
03241e81ff
1 changed files with 14 additions and 5 deletions
19
setup.sh
19
setup.sh
|
@ -1,14 +1,23 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Welcome to the Docker Installer:"
|
echo "Welcome to the Docker Installer:"
|
||||||
echo "1. The installer will install CURL and GIT"
|
|
||||||
echo "2. The installer will install Docker and Docker Compose"
|
|
||||||
echo "3. The installer will clone the Docker-Compose Repository"
|
|
||||||
echo "4. The installer will setup all scripts, so you can docker-compose up"
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
apt update && apt install curl git docker docker-compose -y
|
echo "1. The installer will update all Repos"
|
||||||
|
apt update
|
||||||
|
|
||||||
|
echo "2. The installer will install CURL and GIT"
|
||||||
|
apt install curl git -y
|
||||||
|
|
||||||
|
echo "3. The installer will install Docker and Docker Compose"
|
||||||
|
apt install docker docker-compose -y
|
||||||
|
|
||||||
|
echo "4. The installer will clone the Docker-Compose Repository"
|
||||||
|
git clone https://git.h2-invent.com/datenschutzcenter/docker-compose.git
|
||||||
|
cd docker-compose
|
||||||
|
|
||||||
|
echo "5. The installer will setup all scripts, so you can docker-compose up"
|
||||||
|
echo ""
|
||||||
FILE=env.local
|
FILE=env.local
|
||||||
if [ -f "$FILE" ]; then
|
if [ -f "$FILE" ]; then
|
||||||
source $FILE
|
source $FILE
|
||||||
|
|
Loading…
Reference in a new issue