-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 856 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3'
services:
control_server:
build:
context: .
dockerfile: Dockerfile.server
ports:
- "6767:6767" # port for command and control connection
bot_client_1:
build:
context: .
dockerfile: Dockerfile.client
depends_on:
- control_server
command:
- python3.7
- /usr/python-botnet/src/client.py
- -s
- control_server
bot_client_2:
build:
context: .
dockerfile: Dockerfile.client
depends_on:
- control_server
command:
- python3.7
- /usr/python-botnet/src/client.py
- -s
- control_server
bot_client_3:
build:
context: .
dockerfile: Dockerfile.client
depends_on:
- control_server
command:
- python3.7
- /usr/python-botnet/src/client.py
- -s
- control_server