docs icon indicating copy to clipboard operation
docs copied to clipboard

Please kindly provide a docker example for the tls encryption

Open thulsidk1 opened this issue 2 years ago • 0 comments

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

thulsidk1 avatar Mar 09 '23 09:03 thulsidk1