iac/ansible/locust/artifacts/docker-compose.yml

24 lines
753 B
YAML
Raw Normal View History

2023-08-17 05:06:08 +05:30
---
version: "3"
services:
master:
image: realaravinth/mcaptcha-dos-locust-protected:latest
container_name: master.locust.thrasher.dos.mcaptcha.org
environment:
- MCAPTCHA_CAPTCHA_SITEKEY=dPGVlwxjyPQJS5OEp86gzNJsxbrMlXwQ
- MCAPTCHA_CAPTCHA_HOST=http://localhost:7000
- HOST=http://localhost:5000
ports:
- 8089:8089
volumes:
- ./data/:/src/data
command: --master -H http://localhost:8089
worker:
image: realaravinth/mcaptcha-dos-locust-protected:latest
network_mode: host
environment:
- MCAPTCHA_CAPTCHA_SITEKEY=dPGVlwxjyPQJS5OEp86gzNJsxbrMlXwQ
- MCAPTCHA_CAPTCHA_HOST=http://localhost:7000
- HOST=http://localhost:5000
command: --worker --master-host localhost