mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
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:
committed by
GitHub
parent
6c64e7b07b
commit
70f0d6d24f
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user