docker-logs-grafana-clickhouse/docker-compose.yml

31 lines
678 B
YAML
Raw Normal View History

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'
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
2024-05-21 14:56:35 +03:00
- ./files/vector.yaml:/etc/vector/vector.yaml:ro
2023-10-24 15:46:25 +03:00
volumes:
clickhouse_data:
driver: local
grafana_data:
driver: local