version: '3.8' services: grafana: image: grafana/grafana:latest volumes: - grafana_data:/var/lib/grafana ports: - '3000:3000' 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" clickhouse: image: docker.io/bitnami/clickhouse:23 environment: - CLICKHOUSE_ADMIN_USER=${CLICKHOUSE_USER} - CLICKHOUSE_ADMIN_PASSWORD=${CLICKHOUSE_PASSWORD} ports: - '${CLICKHOUSE_PORT}: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.yaml:/etc/vector/vector.yaml:ro volumes: clickhouse_data: driver: local grafana_data: driver: local