services: jmeter-main: build: context: . args: - JMETER_VERSION=${JMETER_VERSION} container_name: main user: 0:0 environment: PROJECT: ${PROJECT} BASE_DIR: ${BASE_DIR} volumes: - ./scenario:/scenario - ./report:${BASE_DIR}/${PROJECT}/results:rw - ./report/logs:${BASE_DIR}/${PROJECT}/logs:rw - ./entrypoint.sh:/opt/entrypoint.sh influxdb: image: influxdb:latest container_name: influxdb2 ports: - "8086:8086" env_file: - ./influx-grafana/env.influxdb2 volumes: - /influx-data:/var/lib/influxdb2 grafana: image: grafana/grafana:latest container_name: grafana-docker-compose ports: - "30000:3000" env_file: - ./influx-grafana/env.grafana volumes: - ./influx-grafana/grafana/provisioning/:/etc/grafana/provisioning/ - ./influx-grafana/grafana/dashboards/:/var/lib/grafana/dashboards/ mockserver: image: mockserver/mockserver:latest container_name: mockserver ports: - 1080:1080 environment: MOCKSERVER_WATCH_INITIALIZATION_JSON: "true" MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties MOCKSERVER_INITIALIZATION_JSON_PATH: /config/expectations.json volumes: - ./expectations.json:/config/expectations.json