This project allows you to run Jenkins BlueOcean on a docker container and accessing through http://jenkins.localhost/ by making use of nginx-proxy
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
$ git clone https://github.com/jamesattard/docker-blueocean.git
$ cd docker-blueocean
$ docker-compose up
Just point your browser to http://jenkins.localhost/