Please kindly provide a docker example for the tls encryption
Hello Team,
Greetings. While referring this page https://prometheus.io/docs/guides/tls-encryption/ , it is requested that a docker example would be more beneficial.
the doc mentions
prometheus
--config.file=/path/to/prometheus.yml
--web.config.file=/path/to/web-config.yml
--web.external-url=https://example.com/
it is not clear if that is run in docker or non docker context.
Tried using this command
docker run -d --name prometheus -p 9090:9090 -v /home/ec2-user/prometheus_graphana/prometheus.yml:/etc/prometheus/prometheus.yml -v /home/ec2-user/prometheus_graphana/web-config.yml:/etc/prometheus/web-config.yml --web.config.file=/etc/prometheus/web-config.yml prom/prometheus
However it does work.
Thanks and Regards Thulsi Doss Krishnan