prometheus / prometheus/docs

Please kindly provide a docker example for the tls encryption

Open
#2,290 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
717
Forks
1.2k
Avg merge
3d 15h
Merged PRs (30d)
19

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the TLS encryption guide linked in the issue and compare its existing command example with the Docker command shown in the report. Document a clear, working Docker context for the example and verify the documentation build; completion means readers can follow the example without ambiguity about how the configuration files are supplied.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, prometheus
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.