Uh oh!
There was an error while loading. Please reload this page.
Added support for running on Worker nodes in Swarm Mode - #216
Added support for running on Worker nodes in Swarm Mode#216samattridge wants to merge 6 commits into
Conversation
Allows you to override the running mode detection that's performed.
samattridge
commented
Jul 25, 2017
My initial attempt using 'RUNNING_MODE_OVERRIDE' didn't work. |
tifayuki
commented
Aug 10, 2017
@samattridge |
Fixed table cell position of SWARM_MASTER_ADDRESS.
samattridge
commented
Nov 10, 2017
Thanks @tifayuki. I've now updated the readme. Hope it's ok? |
sheerun
commented
Dec 11, 2017
@tifayuki Could you merge? |
sheerun
commented
Dec 11, 2017
@samattridge Could you explain what you mean by "Use this in conjunction with mounting |
samattridge
commented
Dec 15, 2017
@sheerun Ah, this is the issue with leaving too much time before looking back at this! /var/run/docker.sock mount is not required. Sorry about that. It's not a docker-compose.yml file but this is the command I'm running if this helps?
This is starting a service called 'haproxy' globally on any servers that have the 'server' label 'application' which, in my environment, are not Swarm masters. |
There may be a better way of achieving this but I've simply added a SWARM_MASTER_ADDRESS environment variable that, if it exists, will allow the Haproxy to run on worker nodes. This is a workaround for the issue I raised (#215).