mirror of https://github.com/MatrixTM/MHDDoS.git
docs(README): add Docker usage instructions and update docker compose
This commit is contained in:
parent
076c59d453
commit
d9a0673d9f
12
README.md
12
README.md
|
|
@ -138,6 +138,18 @@ pip install -r requirements.txt
|
|||
apt -y update && apt -y install curl wget libcurl4 libssl-dev python3 python3-pip make cmake automake autoconf m4 build-essential git && git clone https://github.com/MatrixTM/MHDDoS.git && cd MH* && pip3 install -r requirements.txt
|
||||
```
|
||||
|
||||
**Docker**
|
||||
|
||||
```shell script
|
||||
git clone https://github.com/MatrixTM/MHDDoS.git
|
||||
cd MHDDoS
|
||||
docker compose build
|
||||
# you can use the built image directly by uncommenting one line in the dockercompose
|
||||
docker compose run -it --entrypoint /bin/bash mhddos
|
||||
|
||||
```
|
||||
|
||||
|
||||
[python3]: https://python.org 'Python3'
|
||||
[github issues]: https://github.com/MatrixTM/MHDDoS/issues 'enter'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
version: "3.9"
|
||||
|
||||
services:
|
||||
mhddos:
|
||||
build: .
|
||||
container_name: mhddos
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config.json:/app/config.json
|
||||
- ./files:/app/files
|
||||
# open shell directly
|
||||
entrypoint: ["/bin/bash"]
|
||||
# or pass the args dirctly
|
||||
#command: ["TCP", "0.0.0.0:80", "10", "100"]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue