jamesattard / docker-blueocean

Docker Blueocean behind a proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This project allows you to run Jenkins BlueOcean on a docker container and accessing through http://jenkins.localhost/ by making use of nginx-proxy

Requirements

First make sure you have a local DNS Server that is able to proxy local requests correctly. If you are using OSX or Linux, I suggest to use dnsmasq. The following is the process to setup dnsmasq on OSX:

$ brew install dnsmasq

Update "/usr/local/etc/dnsmasq.conf" as follows:

listen-address=127.0.0.1
port=35353
address=/.localhost/127.0.0.1

Start dnsmasq as a service:

$ brew service start dnsmasq

Finally, create a new file, /etc/resolver/localhost, to resolve all .localhost DNS requests:

port 35353
nameserver 127.0.0.1

Installation

$ git clone https://github.com/jamesattard/docker-blueocean.git
$ cd docker-blueocean
$ docker-compose up

Usage

Just point your browser to http://jenkins.localhost/

About

Docker Blueocean behind a proxy