Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
1046102779 committed Mar 18, 2017
1 parent 2de8130 commit c3877e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions introduction/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Prometheus镜像使用Volumn存储实际度量指标。在生产环境上使用[
#### 卷&绑定挂载
在运行Prometheus服务的主机上,绑定挂载你的prometheus.yml配置文件:
> docker run -p 9090:9090 -v /tmp/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus
或者为这个配置文件使用另外的卷

> docker run -p 9090:9090 -v /prometheus-data \
prom/prometheus -config.file=/prometheus-data/prometheus.yml

Expand All @@ -38,10 +40,13 @@ Prometheus镜像使用Volumn存储实际度量指标。在生产环境上使用[

### 使用配置管理系统
如果你喜欢使用配置管理系统,你可能对下面地第三方库感兴趣:

Ansible:
- [griggheo/ansible-prometheus](https://github.com/griggheo/ansible-prometheus)
- [William-Yeh/ansible-prometheus](https://github.com/William-Yeh/ansible-prometheus)

Chef:
- [rayrod2030/chef-prometheus](https://github.com/rayrod2030/chef-prometheus)

SaltStack:
- [bechtoldt/saltstack-prometheus-formula](https://github.com/bechtoldt/saltstack-prometheus-formula)

0 comments on commit c3877e7

Please sign in to comment.