2023-10-24 15:46:25 +03:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
grafana:
|
|
|
|
image: grafana/grafana:latest
|
|
|
|
volumes:
|
|
|
|
- grafana_data:/var/lib/grafana
|
|
|
|
ports:
|
|
|
|
- '3000:3000'
|
2023-11-15 11:29:29 +03:00
|
|
|
labels:
|
|
|
|
traefik.enable: "true"
|
|
|
|
traefik.http.routers.grafana.entrypoints: web
|
|
|
|
traefik.http.routers.grafana.rule: "Host(`grafana.test`)"
|
|
|
|
traefik.http.services.grafana.loadbalancer.server.port: "3000"
|
2023-10-24 15:46:25 +03:00
|
|
|
clickhouse:
|
|
|
|
image: docker.io/bitnami/clickhouse:23
|
|
|
|
environment:
|
2023-11-15 11:29:29 +03:00
|
|
|
- CLICKHOUSE_ADMIN_USER=${CLICKHOUSE_USER}
|
|
|
|
- CLICKHOUSE_ADMIN_PASSWORD=${CLICKHOUSE_PASSWORD}
|
2023-10-24 15:46:25 +03:00
|
|
|
ports:
|
2023-11-15 11:29:29 +03:00
|
|
|
- '${CLICKHOUSE_PORT}:8123'
|
2023-10-24 15:46:25 +03:00
|
|
|
volumes:
|
|
|
|
- clickhouse_data:/bitnami/clickhouse
|
|
|
|
vector:
|
|
|
|
image: timberio/vector:latest-alpine
|
|
|
|
ports:
|
|
|
|
- '8686:8686'
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
- ./files/vector.toml:/etc/vector/vector.toml:ro
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
clickhouse_data:
|
|
|
|
driver: local
|
|
|
|
grafana_data:
|
|
|
|
driver: local
|