docker-compose.yml 505 B

1234567891011121314151617181920212223242526
  1. version: '3'
  2. services:
  3. master:
  4. image: locustio/locust
  5. ports:
  6. - "8099:8099"
  7. volumes:
  8. - ./:/mnt/locust
  9. command: -f /mnt/locust/locustfile.py --master -H http://master:8089 --web-port=8099
  10. links:
  11. - "websim"
  12. worker:
  13. image: locustio/locust
  14. volumes:
  15. - ./:/mnt/locust
  16. command: -f /mnt/locust/locustfile.py --worker --master-host master
  17. links:
  18. - "websim"
  19. - "master"
  20. websim:
  21. image: maguec/websim
  22. ports:
  23. - "8091:8080"