3 Star 1 Fork 3

enmotech/mogdb-monitor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
travelliu 提交于 2022-01-28 11:42 . fix: fix alertmanager port issue
version: "2"
services:
prometheus:
# admin/admin
image: prom/prometheus
container_name: prometheus
restart: always
ports:
- "9001:9090"
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- ./prometheus/rules:/etc/prometheus/rules
- ./prometheus/target:/etc/prometheus/target
- ./prometheus/data:/prometheus
networks:
- prometheus
grafana:
# admin/admin
image: grafana/grafana
container_name: grafana
restart: always
ports:
- "9002:3000"
networks:
- prometheus
volumes:
- ./grafana/conf/grafana.ini:/etc/grafana/grafana.ini
- ./grafana/data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
- ./grafana/dashboard:/usr/share/grafana/dashboards
- ./grafana/plugins:/var/lib/grafana/plugins/
alertmanager:
# admin/admin
image: prom/alertmanager
container_name: alertmanager
restart: always
ports:
- "9003:9093"
networks:
- prometheus
volumes:
- ./alertmanager/alertmanager.yml:/etc/alertmanager/alertmanager.yml
networks:
prometheus:
driver: bridge
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/enmotech/mogdb-monitor.git
git@gitee.com:enmotech/mogdb-monitor.git
enmotech
mogdb-monitor
mogdb-monitor
master

搜索帮助