mirror of
https://github.com/0x1d/drift-keeper.git
synced 2025-12-15 18:58:21 +01:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
|
|
# ---------------------------------------------------
|
|
# Bot
|
|
# ---------------------------------------------------
|
|
keeper:
|
|
image: ${DOCKER_IMAGE}
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
volumes:
|
|
- ./config.yaml:/app/config.yaml
|
|
|
|
# ---------------------------------------------------
|
|
# Monitoring
|
|
# ---------------------------------------------------
|
|
prometheus:
|
|
image: prom/prometheus
|
|
container_name: prometheus
|
|
command:
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
#ports:
|
|
# - 9090:9090
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./prometheus:/etc/prometheus
|
|
- prom_data:/prometheus
|
|
grafana:
|
|
image: grafana/grafana
|
|
container_name: grafana
|
|
ports:
|
|
- 3000:3000
|
|
restart: unless-stopped
|
|
environment:
|
|
- GF_SECURITY_ADMIN_USER=admin
|
|
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASSWORD}
|
|
volumes:
|
|
- ./grafana/provisioning:/etc/grafana/provisioning
|
|
- ./grafana/dashboards:/var/lib/grafana/dashboards
|
|
|
|
volumes:
|
|
prom_data:
|