👌 IMPROVE: TLS Connections
This commit is contained in:
3
config/web-config.yaml
Normal file
3
config/web-config.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
tls_server_config:
|
||||
cert_file: /etc/prometheus/certs/signed.crt
|
||||
key_file: /etc/prometheus/certs/domain.key
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user