-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (51 loc) · 1.14 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (51 loc) · 1.14 KB
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
51
52
services:
dns:
image: 'tschaffter/dnsmasq'
restart: always
networks:
mitm_internal:
ipv4_address: 172.31.254.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.31.254.80
mitm_external:
ipv4_address: 172.31.255.80
ports:
- '8080:80/tcp'
- '8443:443/tcp'
- '8081:8081/tcp'
volumes:
- './cert:/root/.mitmproxy'
debugee:
image: ${DEBUGEE_IMAGE_PATCHED}
command: ${DEBUGEE_COMMAND}
dns: 172.31.254.53
depends_on:
- dns
- mitmproxy
networks:
mitm_internal:
ipv4_address: 172.31.254.99
networks:
mitm_internal:
name: mitm_internal
internal: true
ipam:
driver: default
config:
- subnet: 172.31.254.0/24
gateway: 172.31.254.1
mitm_external:
name: mitm_external
ipam:
driver: default
config:
- subnet: 172.31.255.0/24
gateway: 172.31.255.1