Add ssh key generation and gitea installl
This commit is contained in:
parent
35f5111ffb
commit
34330c70dd
@ -22,23 +22,25 @@ apt-get install -y docker-ce docker-ce-cli containerd.io
|
|||||||
# Add Alias in bash
|
# Add Alias in bash
|
||||||
./docker/add-alias.sh
|
./docker/add-alias.sh
|
||||||
|
|
||||||
# Generate Docker Image for api
|
# Generate Docker Image for APIs
|
||||||
|
|
||||||
docker build -f docker/c2a-api.dockerfile -t c2a/api .
|
docker build -f docker/c2a-api.dockerfile -t c2a/api .
|
||||||
|
|
||||||
# Copy script to launch APIs
|
# Copy script to launch APIs
|
||||||
# Need to clone in /app/dev for dev and /app/prod for prod
|
# Need to clone in /app/dev for dev and /app/prod for prod
|
||||||
|
|
||||||
mkdir /root/.bin
|
mkdir /root/.bin
|
||||||
cp docker/script/start-api-dev.sh /root/.bin
|
cp docker/script/start-api-dev.sh /root/.bin
|
||||||
cp docker/script/start-api-prod.sh /root/.bin
|
cp docker/script/start-api-prod.sh /root/.bin
|
||||||
|
|
||||||
|
# Generate SSH key of the serveur
|
||||||
|
ssh-keygen -t rsa -b 4096 -C "c2a.toulouse@gmail.com"
|
||||||
|
|
||||||
# Install let's encrypt
|
# Install let's encrypt
|
||||||
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
|
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
|
||||||
|
|
||||||
# Launch Install Script
|
# Launch Install Script
|
||||||
./docker/install-nginx.sh
|
./docker/install-nginx.sh
|
||||||
./docker/install-gitlab.sh
|
./docker/install-gitlab.sh
|
||||||
|
./docker/install-gitea.sh
|
||||||
./docker/install-jenkins.sh
|
./docker/install-jenkins.sh
|
||||||
./docker/install-portainer.sh
|
./docker/install-portainer.sh
|
||||||
./docker/install-mongo.sh
|
./docker/install-mongo.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user