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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.@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.