2023-08-17 05:06:47 +05:30
|
|
|
# SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
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
|