You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
642 B
27 lines
642 B
version: '3.7'
|
|
services:
|
|
jenkins:
|
|
image: jenkins/jenkins:lts
|
|
container_name: jenkins_se
|
|
privileged: true
|
|
user: root
|
|
ports:
|
|
- 8085:8080
|
|
- 51000:51000
|
|
environment:
|
|
JENKINS_ADMIN_ID: admin
|
|
JENKINS_ADMIN_PASSWORD: gk@corp@22$
|
|
volumes:
|
|
- ~/jenkins:/var/jenkins_home
|
|
# - ./jenkins_data:/var/jenkins_home
|
|
- ~/.ssh:/root/.ssh
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /usr/local/bin/docker:/usr/local/bin/docker
|
|
- /projects:/projects
|
|
networks:
|
|
- app-network
|
|
networks:
|
|
app-network:
|
|
name: gk.internal
|
|
#driver: bridge
|
|
external: true
|
|
|