commit ea71c82603b702776ebd969b24f7b02170550cdb Author: Laszlo Valko Date: Mon Jul 9 02:36:29 2018 +0200 Initial commit. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..20b3a53 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +--- +version: '3.2' +services: + jenkins: + image: "jenkinsci/blueocean" + container_name: jenkins + environment: + - JENKINS_OPTS="--prefix=${WEB_PREFIX}" + user: ${USER_GROUP} + volumes: + - "${JENKINS_HOME}:/var/jenkins_home" + - "${DOCKER_SOCKET}:/var/run/docker.sock" + ports: + - "${EXTERNAL_IP}:${EXTERNAL_PORT}:8080" + - "${EXTERNAL_IP}:${EXTERNAL_PORT2}:50000" + restart: unless-stopped