Initial commit
This commit is contained in:
11
services/jenkins/README.md
Normal file
11
services/jenkins/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
- don't create '/jenkins' folder. it will be created automatically
|
||||
- 'https://adoptium.net/installation/linux/' steps is mandatory
|
||||
|
||||
- for bitwarden support in arm systems
|
||||
|
||||
```
|
||||
apt install -y npm
|
||||
npm install -g @bitwarden/cli
|
||||
whereis bw
|
||||
```
|
||||
|
||||
27
services/jenkins/coolify.docker-compose.yml
Normal file
27
services/jenkins/coolify.docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
jenkins:
|
||||
image: 'jenkins/jenkins:latest'
|
||||
environment:
|
||||
- SERVICE_FQDN_JENKINS_8080
|
||||
- 'CASC_JENKINS_CONFIG=/jenkins/casc/jenkins.yml'
|
||||
volumes:
|
||||
- 'jenkins-home:/var/jenkins_home'
|
||||
# - type: bind
|
||||
# source: '/shared/jenkins/home'
|
||||
# target: '/var/jenkins_home'
|
||||
# is_directory: true
|
||||
- '/usr/local/bin/bw:/usr/local/bin/bw'
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
- type: bind
|
||||
source: '/shared/jenkins/jenkins.yml'
|
||||
target: '/jenkins/jcasc/jenkins.yml'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- '-f'
|
||||
- 'http://localhost:8080/login'
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
0
services/jenkins/resources/jenkins.yml
Normal file
0
services/jenkins/resources/jenkins.yml
Normal file
Reference in New Issue
Block a user