👌 IMPROVE: TLS Connections

This commit is contained in:
2024-07-23 15:43:08 +00:00
parent ba02008e7c
commit eefc954946
2 changed files with 10 additions and 1 deletions

View File

@@ -41,10 +41,16 @@ services:
container_name: prometheus
ports:
- 9090:9090
command: "--config.file=/etc/prometheus/prometheus.yaml"
command: "
--config.file=/etc/prometheus/prometheus.yaml \
--web.config.file=/etc/prometheus/web-config.yaml \
--web.external-url=https://prometheus.phx-erp.de
"
volumes:
# - '--web.enable-lifecycle' # Enable reload of configuration automatically without restart !!!
- ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro # RO Read-only
- ./config/web-config.yaml:/etc/prometheus/web-config.yaml:ro # RO Read-only
- ./https_portal/data/prometheus.phx-erp.de/production:/etc/prometheus/certs
- prometheus-data:/prometheus
restart: unless-stopped
networks: