Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traefik set-up is fickle on (at least my) macbook #1437

Open
BenMusch opened this issue Feb 12, 2025 · 0 comments
Open

Traefik set-up is fickle on (at least my) macbook #1437

BenMusch opened this issue Feb 12, 2025 · 0 comments

Comments

@BenMusch
Copy link
Contributor

BenMusch commented Feb 12, 2025

M3 Macbook Air

Docker version 27.5.1, build 9f9e405

Docker Compose version v2.32.4-desktop.1


Moving context from discord DMs to here for visibility. I run into a very bizarre issue that seems to be a race condition where traefik does not register the routes of the app or socket servers until the containers are killed. Only the first 2.5 minutes of the video are relevant, but can't crop on the loom freemium plan:

https://www.loom.com/share/a2167e1dbd164700a8f8bf558ad4fe0c

A very dumb workaround for this is to run docker compose restart app after the containers come alive, which triggers some docker event that traefik seems to otherwise miss, and then makes traefik aware of the relevant containers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant