version: '3' services: master: image: locustio/locust ports: - "8099:8099" volumes: - ./:/mnt/locust command: -f /mnt/locust/locustfile.py --master -H http://master:8089 --web-port=8099 links: - "websim" worker: image: locustio/locust volumes: - ./:/mnt/locust command: -f /mnt/locust/locustfile.py --worker --master-host master links: - "websim" - "master" websim: image: maguec/websim ports: - "8091:8080"