Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
1fb21b9d
Commit
1fb21b9d
authored
Jun 02, 2015
by
Steve Durrheimer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Installing : Rename refs to prometheus.conf -> prometheus.yml
parent
de5ce4b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
install.md
content/docs/introduction/install.md
+4
-4
No files found.
content/docs/introduction/install.md
View file @
1fb21b9d
...
...
@@ -47,10 +47,10 @@ two examples.
### Volumes & bind-mount
Bind-mount your prometheus.
conf
from the host by running:
Bind-mount your prometheus.
yml
from the host by running:
```
docker run -p 9090:9090 -v /tmp/prometheus.
conf:/etc/prometheus/prometheus.conf
\
docker run -p 9090:9090 -v /tmp/prometheus.
yml:/etc/prometheus/prometheus.yml
\
prom/prometheus
```
...
...
@@ -58,7 +58,7 @@ Or use an additional volume for the config:
```
docker run -p 9090:9090 -v /prometheus-data \
prom/prometheus -config.file=/prometheus-data/prometheus.
conf
prom/prometheus -config.file=/prometheus-data/prometheus.
yml
```
### Custom image
...
...
@@ -73,7 +73,7 @@ Dockerfile like this:
```
FROM prom/prometheus
ADD prometheus.
conf
/etc/prometheus/
ADD prometheus.
yml
/etc/prometheus/
```
Now build and run it:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment