Conversation
...because it doesn't allow you to use drone-wall in mesos environments
|
In the readme there, you've replaced @scottferg would you mind vetting the actual code changes here? I'm not Docker-savvy enough to really be able to parse most of it. For context, this is being added to a separate branch for the v2 version, I'm not sure if the |
| $ docker run -p 3000:8080 -e API_SCHEME=$API_SCHEME -e API_DOMAIN=$API_DOMAIN \ | ||
| -e API_TOKEN=$API_TOKEN -e API_PORT=$API_PORT -e WALL_PORT=8080 scottwferg/drone-wall:2.1 | ||
|
|
||
| Drone wall exposes port `3000`. You can map this to whatever you like. |
There was a problem hiding this comment.
This makes no sense anymore then.
The WALL_PORT is the port that this application is going to bind to within the Docker container - therefore if the WALL_PORT is 8080, then exposing port 3000 is completely useless.
There was a problem hiding this comment.
I agree but I don't want to change the way people is used to work with the v2 branch so here I was just trying to demonstrate how could it be used
|
Also @kpacha if you're using marathon to do docker deploys on mesos then this change isn't actually required. You just have to know about some marathon wizardry whereby when you setup the port ask in your POST to marathon, set containerPort = 0; then marathon with expose, and set
|
| -e API_TOKEN=$API_TOKEN -e API_PORT=$API_PORT scottwferg/drone-wall | ||
| $ docker pull scottwferg/drone-wall:2.1 | ||
| $ docker run -p 3000:8080 -e API_SCHEME=$API_SCHEME -e API_DOMAIN=$API_DOMAIN \ | ||
| -e API_TOKEN=$API_TOKEN -e API_PORT=$API_PORT -e WALL_PORT=8080 scottwferg/drone-wall:2.1 |
There was a problem hiding this comment.
We should get this moved into the proper repo
|
LGTM |
|
@kpacha if you wanna make those doc updates (that table one in particular) I'll get this merged in. |
Do not use the $PORT env var because it doesn't allow you to use drone-wall in mesos environments.