docker-logs-grafana-clickhouse/docker-compose.yml
2023-10-24 15:46:25 +03:00

31 lines
678 B
YAML

version: '3.8'
services:
grafana:
image: grafana/grafana:latest
volumes:
- grafana_data:/var/lib/grafana
ports:
- '3000:3000'
clickhouse:
image: docker.io/bitnami/clickhouse:23
environment:
- CLICKHOUSE_ADMIN_USER=default
- CLICKHOUSE_ADMIN_PASSWORD=default
ports:
- '8123:8123'
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