You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I added one more node to the swarm, and the next stack update placed the app container on the worker node. Traefik still runs on master node according to placement constraints, and the dashboard still runs fine and reports no errors.
However, trying to access the app doesn't work and the browser gets a Bad Gateway message (probably from traefik?)
Again, I didn't change anything except that I added a worker node and redeployed the stack.
The text was updated successfully, but these errors were encountered:
dorinclisu
changed the title
Service placement on different node makes it unaccessible
Service placement on different node makes it unreachable
Jan 25, 2021
After opening ports 4789 and 7946 (2377 was already open, otherwise I couldn't join nodes to the swarm), the service works as expected regardless of placement.
I installed the basic traefik stack on 1 node and I was pleased with how it works.
Then I installed a custom application based on this config https://dockerswarm.rocks/thelounge/
All working well, dashboard available at https://traefik.mydomain.com, app available at https://app.mydomain.com
Then I added one more node to the swarm, and the next stack update placed the app container on the worker node. Traefik still runs on master node according to placement constraints, and the dashboard still runs fine and reports no errors.
However, trying to access the app doesn't work and the browser gets a Bad Gateway message (probably from traefik?)
The log line traefik produces for every request to access the app at https://app.mydomain.com
Again, I didn't change anything except that I added a worker node and redeployed the stack.
The text was updated successfully, but these errors were encountered: