reorganized the file and folder structure

This commit is contained in:
2023-01-27 18:38:21 +00:00
parent 5910d4d9a9
commit 0d4e8b6e80
18 changed files with 36 additions and 47 deletions
+34
View File
@@ -0,0 +1,34 @@
# docker-compose.yaml
version: '3.8'
volumes:
jenkins_home:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
device: :/swarm/stacks/jenkins/home
jenkins_certs:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
device: :/swarm/stacks/jenkins/certs
services:
jenkins:
image: docker:5000/jenkins-docker
ports:
- 8080:8080
- 50000:50000
environment:
- DOCKER_CERT_PATH=/certs/client
- DOCKER_TLS_VERIFY=1
deploy:
placement:
constraints:
- "node.labels.highperformance==YES"
volumes:
- jenkins_home:/var/jenkins_home
- jenkins_certs:/certs/client
- /var/run/docker.sock:/var/run/docker.sock