christian-posta / ceposta-devops-ose

Complete Continuous Delivery demo with docker, jboss fuse, gerrit, nexus, gitlab, openshift
48 stars 24 forks source link

Define fixed port numbers to be used for gitlab, gerrit, nexus, jenkins #7

Open cmoulliard opened 9 years ago

cmoulliard commented 9 years ago

According to docker gitlab doc, we can define fixed numbers for HTTP/S & SSH ports

 -p 10022:22 -p 10080:80 -e 'GITLAB_SSH_PORT=10022' -e 'GITLAB_PORT=443'

Suggestion : add fixed port numbers to script running the docker container : 10022, 10080, 10443

We could perhaps do that also for gerrit, jenkins using a different range : 200xx for gerrit, 300xx for jenkins and 500xx for nexus