-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (48 loc) · 1.07 KB
/
docker-compose.yml
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
45
46
47
48
49
50
version: '3'
services:
dns:
image: 'tschaffter/dnsmasq'
restart: always
networks:
mitm_internal:
ipv4_address: 172.201.0.53
volumes:
- './dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf'
mitmproxy:
image: 'mitmproxy/mitmproxy'
restart: always
entrypoint: mitmweb
command: '--web-host 0.0.0.0 -m regular@80 -m regular@443'
networks:
mitm_internal:
ipv4_address: 172.201.0.80
mitm_external:
ipv4_address: 172.202.0.80
ports:
- '8080:80/tcp'
- '8443:443/tcp'
- '8081:8081/tcp'
volumes:
- './cert:/root/.mitmproxy'
debugee:
image: ${DEBUGEE_IMAGE_PATCHED}
dns: 172.201.0.53
networks:
mitm_internal:
ipv4_address: 172.201.0.99
networks:
mitm_internal:
name: mitm_internal
internal: true
ipam:
driver: default
config:
- subnet: 172.201.0.0/16
gateway: 172.201.0.1
mitm_external:
name: mitm_external
ipam:
driver: default
config:
- subnet: 172.202.0.0/16
gateway: 172.202.0.1