-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
To Reproduce
- Enable treafik dashboard (not sure this is necessary, but the ports added there started my confusion)
- Create applications and assign domains. Use isolated networks. Deploy it.
- Application access works fine via traefik reverse proxy
- Docker inspect networks shows that the dokploy-traefik container has the application network assigned as well, as expected
- Go to web server additional port mapping settings
- remove one of the 8080 mappings
- Dokploy will restart dokploy-treafik container.
- Treafik cannot access application anymore
- docker inspect shows, dokploy-treafik container only has one network attached now. all other networks are gone. this is the reason why traefik will gateway timeout on ALL applications now.
Current vs. Expected behavior
Removing the duplicate port mapping (8080 auto created by enabling treafik dashboard) does not break all docker networks that were automatically set-up.
Current: duplicate port mapping, removing one restarts treafik. breaks networks, and duplicate port mapping remains
Expected: no duplicate port mapping, removing it WONT break networks.
Provide environment information
- Ubuntu 22.04.5 LTS
- x86_64
- Dokploy 0.25.6Which area(s) are affected? (Select all that apply)
Traefik, Docker, Application
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
I stumpled upon this by accident and investigated it. All I did was browse the dokploy dashboard and check the settings.
I was confused that there is a duplicate 8080 tcp port mapping and was not sure where it came from. I just removed one of them and pressed save. Only later I realized that these were auto added from enabling the treafik dashboard. (i dont know where there is a duplicate mapping still tho)
I would expect to update the additional port mappings would NOT remove/break all networks setup by dokploy and treafik
Will you send a PR to fix it?
No