Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bepp-boop committed Oct 9, 2024
1 parent 530eb55 commit 391efb0
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions Apps/Jenkin/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,24 @@ name: jenkins
services:
jenkins:
image: jenkins/jenkins:lts-jdk17
privileged: true
privileged: false
user: root
restart: unless-stopped
restart: always
network_mode: bridge
x-casaos:
volumes:
- container: /var/jenkins_home
description:
en_us: Contains Jenkins data and configurations.
ports:
- container: "8080"
description:
en_us: Jenkins web interface port
- container: "50000"
description:
en_us: Jenkins agent port
cpu_shares: 50
ports:
- target: 8080
published: "8080"
protocol: tcp
- target: 50000
published: "50000"
protocol: tcp
volumes:
- type: bind
source: /DATA/AppData/$AppID/jenkins_home
source: /DATA/AppData/Jenkins/data
target: /data
- type: bind
source: /var/lib/docker/volumes/b098c98b2c5dec792246dc33375853c05958ace7c144f4aa157326a6f6c0de4c/_data
target: /var/jenkins_home
container_name: jenkins
container_name: Jenkins
hostname: Jenkins

x-casaos:
architectures:
Expand Down Expand Up @@ -72,3 +62,4 @@ x-casaos:
title:
en_us: Jenkins CI/CD
port_map: "8080"
icon: https://icon.casaos.io/main/all/jenkins.png

0 comments on commit 391efb0

Please sign in to comment.