added docker compose file and jenkins dir
This commit is contained in:
parent
3c6b8eef3a
commit
162668d26b
14
docker-compose.yml
Normal file
14
docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
version: '3.7'
|
||||||
|
services:
|
||||||
|
jenkins:
|
||||||
|
image: jenkins/jenkins:lts
|
||||||
|
privileged: true
|
||||||
|
user: root
|
||||||
|
ports:
|
||||||
|
- 8081:8080
|
||||||
|
- 50000:50000
|
||||||
|
container_name: jenkins
|
||||||
|
volumes:
|
||||||
|
- ./jenkins:/var/jenkins_home
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /usr/local/bin/docker:/usr/local/bin/docker
|
||||||
Loading…
x
Reference in New Issue
Block a user