1 Star 0 Fork 35

tangrun/docker-compose

forked from 小龙人/docker-compose 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose-monitor.yml 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
kancy 提交于 2019-11-22 20:09 . docker aliyun
version: '3'
services:
prometheus:
image: prom/prometheus
container_name: prometheus
hostname: prometheus
restart: always
volumes:
- /data/docker_file/monitor/conf/prometheus.yml:/etc/prometheus/prometheus.yml
- /data/docker_file/monitor/conf/node_down.yml:/etc/prometheus/node_down.yml
ports:
- "9090:9090"
networks:
- monitor
alertmanager:
image: prom/alertmanager
container_name: alertmanager
hostname: alertmanager
restart: always
volumes:
- /data/docker_file/monitor/conf/alertmanager.yml:/etc/alertmanager/alertmanager.yml
ports:
- "9093:9093"
networks:
- monitor
grafana:
image: grafana/grafana
container_name: grafana
hostname: grafana
restart: always
ports:
- "3000:3000"
networks:
- monitor
node-exporter:
image: prom/node-exporter
container_name: node-exporter
hostname: node-exporter
restart: always
ports:
- "9100:9100"
networks:
- monitor
# mysqld-exporter:
# image: prom/mysqld-exporter
# ports:
# - "9104:9104"
# environment:
# - DATA_SOURCE_NAME=root:password@(10.139.60.82:3306)/database
# networks:
# - monitor
networks:
monitor:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tangrunlive/docker-compose.git
git@gitee.com:tangrunlive/docker-compose.git
tangrunlive
docker-compose
docker-compose
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385