Add CiaB expose-ports.yml, remove default expose#3270
Conversation
|
Refer to this link for build results (access rights to CI server needed): |
|
Rob, I reviewed this PR and everything works with changes to the main CiaB docker-compose.yml. I noticed the optional containers still had the expose ports baked in, so I went ahead and PR'd the changes to your branch. My testing procedure: Output from Once the traffic router starts up, I was able to request demo1 delivery service via HTTPS: |
Adds a separate docker-compose yml file to expose service ports, and removes exposing ports from the default docker-compose.yml. This allows multiple CiaB to run on the same host, as well as allowing running a CiaB on a host already using a port, while allowing the old behavior of exposing by chaining composes, via: docker-compose \ -f docker-compose.yml \ -f docker-compose.expose-ports.yml \ up
aebaf96 to
091cd3f
Compare
|
Refer to this link for build results (access rights to CI server needed): |
Add CiaB exports-ports.yml for optional containers: socksproxy, vnc
|
Refer to this link for build results (access rights to CI server needed): |
dangogh
left a comment
There was a problem hiding this comment.
going with @JBevillC 's approval.. Not any direct effect on functionality of ATC as used in production, only making CIAB more flexible.
Adds a separate docker-compose yml file to expose service ports,
and removes exposing ports from the default docker-compose.yml.
This allows multiple CiaB to run on the same host, as well as allowing
running a CiaB on a host already using a port, while allowing the
old behavior of exposing by chaining composes, via:
docker-compose -f docker-compose.yml -f docker-compose.expose-ports.yml up
What does this PR do?
Fixes #(issue_number)
Which TC components are affected by this PR?
What is the best way to verify this PR?
Verify
docker-compose -f docker-compose.yml -f docker-compose.expose-ports.yml upemulates old behavior, CiaB comes up, .https://localhostis served on the host.Verify
docker-compose -f docker-compose.yml upbrings up a CiaB anddocker exec -it cdn-in-a-box_trafficvault_1 curl -Lvsk http://video.demo1.mycdn.ciab.testreturns the web page as expected, buthttps://localhostis not served on the host.Check all that apply