Replies: 1 comment 2 replies
-
As far as I know you cannot use environmental variables (DOMAINNAME) in toml/yml files. As explained in my guides, example.com will have to customized to your situation. Moving to discussions as this is not an issue. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This bit is sanitized with "example.com", but it's not readily apparent how to make it reference the configured DOMAINNAME environment variable, or if that's even what we're going for here.
https://github.com/htpcBeginner/docker-traefik/blob/2017cc3c1e163772609687f866cea9e080344ebc/traefik2/rules/middlewares.toml.example#L38
Does this entry just get moved to the docker-compose file's traefik section under labels?
Beta Was this translation helpful? Give feedback.
All reactions