Need help with configuration for Docker Swarm + Traefik #595
Replies: 9 comments 2 replies
-
Post your config. you should add group name to your service(with labels) and it should match with group name in middleware |
Beta Was this translation helpful? Give feedback.
-
Here are config files extractions: compose.yml
traefik-middleware.yml
|
Beta Was this translation helpful? Give feedback.
-
post your /etc/sablier/sablier.yml too. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I missed it:
With trace loglevel instead of info I get this at startup:
Provider = docker, not swarm. It seems the config file isn't parsed, no? File attributes in host:
|
Beta Was this translation helpful? Give feedback.
-
looks like sablier can't read your config file. as a test, give 777 to sablier.yml on host. and then look inside docker for this file, and check permissions |
Beta Was this translation helpful? Give feedback.
-
I didn't manage to connect to container with I switched to 777 but it's not better. I may have a syntax problem in my compose file but I don't see it. |
Beta Was this translation helpful? Give feedback.
-
you can add configuration with your compose file. i'm running it this way, for example:
|
Beta Was this translation helpful? Give feedback.
-
With the command lines in compose file it is a little bit better: containers in group general are starting when needed.
|
Beta Was this translation helpful? Give feedback.
-
Ok great, I fixed everything by creating middleware labels for each service to scale to 0, each associated to its own group. Thanks for helping @uldiseihenbergs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thank you for this amazing project.
I'm using Docker Swarm with multiple services.
I configured such as mentionned in SablierApp documentation (Traefik plugin with 1 middleware to test, groupname=default, Sablier service with sablier.yaml config file, labels on services I want to scale to zero, Traefik whoami for example to test).
When I try to access whoami.domain.com I get this error:
What did I miss?
Beta Was this translation helpful? Give feedback.
All reactions