Fix Docker Traefik .yml and SERVER_DNS (#7858)

* Rename tls.yml to tls.yaml

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"

* Update example.env

Added option for SERVER_URL

To prevent warning:
WARN[0000] The "SERVER_DNS" variable is not set. Defaulting to a blank string.

* Update example.env

Change SERVER_URL to SERVER_DNS

* Use .yml consistently

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
This commit is contained in:
John Marlo EvangelistaandAlexandre Alapetite authored and GitHub committed 2025-08-27 21:54:41 +02:00
1 parent 6c64e7b07b
commit 70f0d6d24f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ services:
- --certificatesResolvers.letsEncrypt.acme.storage=/etc/traefik/acme/acme.json
- --certificatesResolvers.letsEncrypt.acme.email=${ADMIN_EMAIL}
- --certificatesResolvers.letsEncrypt.acme.tlsChallenge=true
- --providers.file.filename=/etc/traefik/tls.yaml
- --providers.file.filename=/etc/traefik/tls.yml
labels:
- traefik.enable=false
+1
View File
@@ -19,6 +19,7 @@ ADMIN_API_PASSWORD=freshrss
# Address at which the FreshRSS instance will be reachable:
BASE_URL=https://freshrss.example.net
SERVER_DNS=freshrss.example.net
# Database server (not relevant if using default SQLite)
# Use the name of the Docker container if running on the same machine