add raw state of with jenkins
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
version: '3.8'
|
||||
|
||||
### Jenkins (./apps/frontend/docker-compose.yml)
|
||||
services:
|
||||
jenkins:
|
||||
image: jenkins/jenkins:lts
|
||||
@@ -7,7 +6,10 @@ services:
|
||||
ports:
|
||||
- "50000:50000" # Jenkins Agent Port
|
||||
volumes:
|
||||
- jenkins_home:/var/jenkins_home
|
||||
- ../../../volumes/develop/jenkins:/var/jenkins_home
|
||||
- ./plugins.yml:/usr/share/jenkins/ref/plugins.yml
|
||||
depends_on:
|
||||
- jenkins-plugins
|
||||
environment:
|
||||
- JAVA_OPTS=-Djenkins.install.runSetupWizard=false
|
||||
networks:
|
||||
@@ -21,6 +23,14 @@ services:
|
||||
- "traefik.http.services.jenkins.loadbalancer.server.port=8080" # interner Port von Jenkins
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
jenkins-plugins:
|
||||
image: jenkins/jenkins:lts-jdk17
|
||||
command: >
|
||||
jenkins-plugin-cli -f /usr/share/jenkins/ref/plugins.yml --available-updates --output txt > /usr/share/jenkins/ref/plugins.yml
|
||||
volumes:
|
||||
- ./plugins.yml:/usr/share/jenkins/ref/plugins.yml
|
||||
restart: "no"
|
||||
|
||||
volumes:
|
||||
jenkins_home:
|
||||
driver: local
|
||||
|
0
apps/develop/jenkins/plugins.yml
Normal file
0
apps/develop/jenkins/plugins.yml
Normal file
Reference in New Issue
Block a user