This commit is contained in:
Cryptoval2
2025-01-20 21:47:17 +00:00
parent 3a9d9b10d4
commit f1ecca8be1
4 changed files with 21 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
#
services:
it-tools:
image: jenkins/jenkins:lts
container_name: jenkins
ports:
- "8080:8080"
- "50000:50000"
volumes:
- "/works/docker/jenkins/jenkins_home:/var/jenkins_home"
restart: unless-stopped
+3
View File
@@ -0,0 +1,3 @@
```bash
docker run -d -p 8080:8080 -p 50000:50000 --name jenkins -v /opt/jenkins:/var/jenkins_home jenkins/jenkins:lts
```