aklinker1 / miasma

An opinionated managment UI for Docker Swarm
https://miasma.aklinker1.io/
MIT License
16 stars 5 forks source link

Routes not set immediately #50

Closed aklinker1 closed 2 years ago

aklinker1 commented 2 years ago

When adding a route to an app, I have to manually restart it before the route shows up on traefik's dashboard or is actually handled properly:

Steps to Recreate

miasma apps:create example -i ealen/echo-server
miasma route:set -a example --host example.com

# Then I have to manually restart the app
miasma apps:restart -a example
aklinker1 commented 2 years ago

Happened again, and the traefik labels were not set on the service... Not sure when the service was restarted, but it doesn't seem like all the restart triggers are passing all the required data, specifically in this case the list of plugins, before stopping and starting the services.