diff --git a/jenkins/README.md b/jenkins/README.md index fdf40cd..77761ad 100644 --- a/jenkins/README.md +++ b/jenkins/README.md @@ -1,10 +1,10 @@ # Jenkins ## 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 lesapplication **git** et **ansible**. +Il installe également les applications **git** et **ansible**. Jenkins est accessible sur le port 8080 diff --git a/jenkins/provision/Caddyfile b/jenkins/provision/Caddyfile new file mode 100644 index 0000000..4c19bd7 --- /dev/null +++ b/jenkins/provision/Caddyfile @@ -0,0 +1,11 @@ +192.168.1.30:443 { + tls internal + reverse_proxy localhost:8080 +} + +jenkins:443 { + tls internal + reverse_proxy localhost:8080 +} + + diff --git a/jenkins/provision/install-caddy.sh b/jenkins/provision/install-caddy.sh new file mode 100644 index 0000000..cabeae1 --- /dev/null +++ b/jenkins/provision/install-caddy.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +sudo apt-get update +sudo apt-get install -y caddy + + diff --git a/restic-minio/provision/install-minio.sh b/restic-minio/provision/install-minio.sh index 1107a60..2f79989 100644 --- a/restic-minio/provision/install-minio.sh +++ b/restic-minio/provision/install-minio.sh @@ -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 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"