-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.paypal.yml
66 lines (59 loc) · 1.63 KB
/
docker-compose.paypal.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3"
services:
# Note: all services are accessible through the proxy on port 9090 (see mitmbrowser service below)
# Integrator
integrator:
build: ./oscommerce
image: "oscommerce:2.3.1"
environment:
- "APPHTTP=http"
- "APPHOST=34.89.219.37"
- "APPPORT=80"
- "HTTP_PROXY=http://mitmback:8080"
- "HTTPS_PROXY=http://mitmback:8080"
- "http_proxy=http://mitmback:8080"
- "https_proxy=http://mitmback:8080"
# Reverse Proxy
mitmrev:
build: ./common/mitmproxy
image: mitmproxy
volumes:
- ./common/mitmproxy/config:/home/mitmproxy/.mitmproxy
- ./common/mitmproxy/scripts:/home/mitmproxy/scripts
ports:
- "80:80" # website
- "8081:8081" # web interface
command: >
-p 80 --mode reverse:http://integrator.com
--set block_global=false
# -s /home/mitmproxy/scripts/monitor_rp.py
links:
- "integrator:integrator.com"
depends_on:
- mitmback
# Proxy for back channels
mitmback:
image: mitmproxy
volumes:
- ./common/mitmproxy/config:/home/mitmproxy/.mitmproxy
- ./common/mitmproxy/scripts:/home/mitmproxy/scripts
ports:
- "8082:8081" # web interface
command: >
-p 8080
# -s /home/mitmproxy/scripts/monitor_backchan.py
# Browser reverse proxy
mitmbrowser:
image: mitmproxy
volumes:
- ./common/mitmproxy/config:/home/mitmproxy/.mitmproxy
- ./common/mitmproxy/scripts:/home/mitmproxy/scripts
ports:
- "9090:8080"
- "8083:8081" # web interface
links:
- "mitmrev:integrator.com"
command: -p 8080
# monitor mongodb
mongo-rp:
image: mongo