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.
22 lines
435 B
22 lines
435 B
version: "3" |
|
services: |
|
jenkins: |
|
build: |
|
context: ./image |
|
container_name: jenkins |
|
image: jenkins |
|
hostname: jenkins |
|
restart: always |
|
privileged: true |
|
environment: |
|
- JAVA_OPTS=-Xmx2g |
|
volumes: |
|
- jenkins_home:/var/jenkins_home |
|
- /var/run/docker.sock:/var/run/docker.sock |
|
- /usr/bin/docker:/usr/bin/docker |
|
ports: |
|
- 2023:8080 |
|
|
|
volumes: |
|
jenkins_home: |
|
driver: local
|
|
|