mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-10 10:00:46 +09:00
27 lines
710 B
YAML
27 lines
710 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
prometheus:
|
|
image: prom/prometheus:v2.1.0
|
|
volumes:
|
|
- ./prometheus/:/etc/prometheus/
|
|
command:
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
- '--storage.tsdb.path=/prometheus'
|
|
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
|
|
- '--web.console.templates=/usr/share/prometheus/consoles'
|
|
ports:
|
|
- 9090:9090
|
|
restart: unless-stopped
|
|
grafana:
|
|
image: grafana/grafana
|
|
user: "104"
|
|
depends_on:
|
|
- prometheus
|
|
ports:
|
|
- 127.0.0.1:3000:3000
|
|
volumes:
|
|
- ./grafana/provisioning/:/etc/grafana/provisioning/
|
|
env_file:
|
|
- ./grafana/config.monitoring
|
|
restart: unless-stopped
|