aboutsummaryrefslogtreecommitdiffstats
path: root/tools/moon_jenkins/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/moon_jenkins/docker-compose.yml')
-rw-r--r--tools/moon_jenkins/docker-compose.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/moon_jenkins/docker-compose.yml b/tools/moon_jenkins/docker-compose.yml
new file mode 100644
index 00000000..eb9354ce
--- /dev/null
+++ b/tools/moon_jenkins/docker-compose.yml
@@ -0,0 +1,20 @@
+version: '3.1'
+
+services:
+ jenkins:
+ build:
+ context: .
+ image: blueocean:v0.4
+ ports:
+ - 8080:8080
+ - 50000:50000
+ environment:
+ - jenkins_user=${JENKINS_USER}
+ - jenkins_password=${JENKINS_PASSWORD}
+ volumes:
+ - jenkins-data:/var/jenkins_home
+ - /var/run/docker.sock:/var/run/docker.sock
+ user: root
+
+volumes:
+ jenkins-data: \ No newline at end of file