traefik #2

Closed
opened 2025-12-28 23:23:33 +01:00 by adam · 1 comment
Owner

Originally created by @DragonHeart69 on GitHub (Jan 16, 2025).

For those using traefik with labels in the docker compose file, I found the problem that traefik forwards to 2 ip's.
1 of wygiwyh_server and the other from wygiwyh_procrastinate.

After 4h of searching I just discovered this and knew that the problem was with web: &django & <<: *django.

Personally, I have never used this kind of reference before, but I came up with a solution anyway.
I want to post it here so others don't have to search for so long.

Add labels: [ ] inside the procrastinate part of the docker-compose.

Originally created by @DragonHeart69 on GitHub (Jan 16, 2025). For those using traefik with labels in the docker compose file, I found the problem that traefik forwards to 2 ip's. 1 of wygiwyh_server and the other from wygiwyh_procrastinate. After 4h of searching I just discovered this and knew that the problem was with web: &django & <<: *django. Personally, I have never used this kind of reference before, but I came up with a solution anyway. I want to post it here so others don't have to search for so long. Add `labels: [ ]` inside the procrastinate part of the docker-compose.
adam closed this issue 2025-12-28 23:23:33 +01:00
Author
Owner

@eitchtee commented on GitHub (Jan 16, 2025):

The & and << are meant to copy the web service directives to procrastinate, as they use the same image. The labels were probably being copied to procrastinate and causing problems.

It's saving me exactly one line of code, so I will remove it. Thank you.

@eitchtee commented on GitHub (Jan 16, 2025): The & and << are meant to copy the web service directives to procrastinate, as they use the same image. The labels were probably being copied to procrastinate and causing problems. It's saving me exactly one line of code, so I will remove it. Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WYGIWYH#2