Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please kindly provide a docker example for the tls encryption #2290

Open
thulsidk1 opened this issue Mar 9, 2023 · 0 comments
Open

Please kindly provide a docker example for the tls encryption #2290

thulsidk1 opened this issue Mar 9, 2023 · 0 comments

Comments

@thulsidk1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant