services: influxdb: image: influxdb:2.7 environment: - DOCKER_INFLUXDB_INIT_MODE=setup - DOCKER_INFLUXDB_INIT_USERNAME=admin - DOCKER_INFLUXDB_INIT_PASSWORD=adminpassword - DOCKER_INFLUXDB_INIT_ORG=evolv - DOCKER_INFLUXDB_INIT_BUCKET=evolv - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=evolv-e2e-token ports: - "8086:8086" healthcheck: test: ["CMD", "influx", "ping"] interval: 5s timeout: 5s retries: 5 nodered: build: context: . dockerfile: Dockerfile.e2e ports: - "1880:1880" depends_on: influxdb: condition: service_healthy environment: - INFLUXDB_URL=http://influxdb:8086 - INFLUXDB_TOKEN=evolv-e2e-token - INFLUXDB_ORG=evolv - INFLUXDB_BUCKET=evolv volumes: - ./test/e2e/flows.json:/data/flows.json healthcheck: test: ["CMD", "curl", "-f", "http://localhost:1880/"] interval: 5s timeout: 5s retries: 10 grafana: image: grafana/grafana:latest ports: - "3000:3000" environment: - GF_SECURITY_ADMIN_PASSWORD=admin - GF_AUTH_ANONYMOUS_ENABLED=true depends_on: - influxdb