Configure FQDN centrally via .env

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-15 12:24:42 +01:00
parent 7272017ff8
commit 397d8e7d29
5 changed files with 22 additions and 15 deletions

View File

@@ -51,6 +51,7 @@ services:
networks:
- dawarich
environment:
FQDN: ${FQDN:-location.butenostfreesen.de}
CERTBOT_EMAIL: ${CERTBOT_EMAIL:-}
depends_on:
dawarich_app:
@@ -80,9 +81,9 @@ services:
DATABASE_PASSWORD: password
DATABASE_NAME: dawarich_development
MIN_MINUTES_SPENT_IN_CITY: 60
APPLICATION_HOSTS: "location.butenostfreesen.de,127.0.0.1"
APPLICATION_HOSTS: "${FQDN:-location.butenostfreesen.de},127.0.0.1"
TIME_ZONE: Europe/Berlin
APPLICATION_PROTOCOL: httpss
APPLICATION_PROTOCOL: https
DISTANCE_UNIT: km
PROMETHEUS_EXPORTER_ENABLED: false
PROMETHEUS_EXPORTER_HOST: 0.0.0.0
@@ -133,9 +134,9 @@ services:
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: password
DATABASE_NAME: dawarich_development
APPLICATION_HOSTS: "location.butenostfreesen.de,127.0.0.1"
APPLICATION_HOSTS: "${FQDN:-location.butenostfreesen.de},127.0.0.1"
BACKGROUND_PROCESSING_CONCURRENCY: 10
APPLICATION_PROTOCOL: httpss
APPLICATION_PROTOCOL: https
DISTANCE_UNIT: km
PROMETHEUS_EXPORTER_ENABLED: false
PROMETHEUS_EXPORTER_HOST: dawarich_app