Ajout caddy avec jenkins
This commit is contained in:
parent
b33711c33d
commit
bf15f643c7
@ -1,10 +1,10 @@
|
|||||||
# Jenkins
|
# Jenkins
|
||||||
|
|
||||||
## Présentation
|
## Présentation
|
||||||
|
|
||||||
|
Le script ''install-jenkins.sh'' installe l'application CI/CD **jenkins** sur Debian 12 avec openJDK 17 à partir du dépot jenkins.
|
||||||
|
|
||||||
Le script ''install-jenkins'' installe l'application CI/CD **jenkins** sur Debian 12 avec openJDK 17 à partir du dépot jenkins.
|
Il installe également les applications **git** et **ansible**.
|
||||||
|
|
||||||
Il installe lesapplication **git** et **ansible**.
|
|
||||||
|
|
||||||
Jenkins est accessible sur le port 8080
|
Jenkins est accessible sur le port 8080
|
||||||
|
|
||||||
|
11
jenkins/provision/Caddyfile
Normal file
11
jenkins/provision/Caddyfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
192.168.1.30:443 {
|
||||||
|
tls internal
|
||||||
|
reverse_proxy localhost:8080
|
||||||
|
}
|
||||||
|
|
||||||
|
jenkins:443 {
|
||||||
|
tls internal
|
||||||
|
reverse_proxy localhost:8080
|
||||||
|
}
|
||||||
|
|
||||||
|
|
6
jenkins/provision/install-caddy.sh
Normal file
6
jenkins/provision/install-caddy.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y caddy
|
||||||
|
|
||||||
|
|
@ -5,5 +5,10 @@ sudo apt-get update
|
|||||||
wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio_20250203210304.0.0_amd64.deb -O minio.deb
|
wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio_20250203210304.0.0_amd64.deb -O minio.deb
|
||||||
sudo dpkg -i minio.deb
|
sudo dpkg -i minio.deb
|
||||||
|
|
||||||
|
|
||||||
|
sudo groupadd -r minio
|
||||||
|
sudo useradd -M -r -g minio minio
|
||||||
|
|
||||||
|
|
||||||
echo -e "mkdir ~/minio\nminio server ~/minio --console-address :9001"
|
echo -e "mkdir ~/minio\nminio server ~/minio --console-address :9001"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user