Fix Docker Traefik .yml and SERVER_DNS#7858
Conversation
Rename tls.yaml so it will be align to the entry in docker-compose-proxy.yml: volumes: - ./tls.yaml:/etc/traefik/tls.yaml To prevent error: error="error reading configuration file: /etc/traefik/tls.yaml - read /etc/traefik/tls.yaml: is a directory"
Added option for SERVER_URL To prevent warning: WARN[0000] The "SERVER_DNS" variable is not set. Defaulting to a blank string.
Change SERVER_URL to SERVER_DNS
|
Thanks for the heads up 👍🏻 |
I tested the approach of consistently using .yml, and it works without any issues on my end. |
Closes #
Changes proposed in this pull request:
Rename tls.yml to tls.yaml so it will be align to the entry in docker-compose-proxy.yml:
volumes:
To prevent error:
error="error reading configuration file: /etc/traefik/tls.yaml - read /etc/traefik/tls.yaml: is a directory"
Added parameter SERVER_DNS in the example.env
To prevent warning:
WARN[0000] The "SERVER_DNS" variable is not set. Defaulting to a blank string.
How to test the feature manually:
Pull request checklist:
Additional information can be found in the documentation.