-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (54 loc) · 1.66 KB
/
docker-compose.yml
File metadata and controls
58 lines (54 loc) · 1.66 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
53
54
55
56
57
58
services:
dnsmasq:
image: andyshinn/dnsmasq:latest
container_name: emo-dns
network_mode: "host"
cap_add:
- NET_ADMIN
volumes:
- ./dnsmasq.conf:/etc/dnsmasq.conf
restart: unless-stopped
nginx:
image: nginx:alpine
network_mode: "host"
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./nginx/ssl:/etc/nginx/ssl
restart: unless-stopped
mitmproxy: # Send emo through mitmproxy to the emo proxy.
image: mitmproxy/mitmproxy
container_name: mitm-proxy
network_mode: "host"
entrypoint: mitmweb
# mode reverse:http://localhost:8080 tells mitmproxy to forward all
# incoming traffic to your Go app.
command: >
--mode reverse:http://localhost:8080
--listen-port 8082
--web-port 8081
--web-host 0.0.0.0
--set web_password=emo
restart: unless-stopped
# mitmproxy: # Send emo through mitmproxy directly to living.ai, bypassing the emo proxy.
# image: mitmproxy/mitmproxy
# container_name: mitm-proxy
# network_mode: "host"
# entrypoint: mitmweb
# command: >
# --mode reverse:https://api.living.ai
# --listen-port 8082
# --web-port 8081
# --web-host 0.0.0.0
# --set keep_host_header=true
# --set ssl_verify_upstream=false
# --set web_password=emo
# restart: unless-stopped
# emo-proxy: # Start emo from docker instead of through console.
# image: golang:1.21-alpine
# network_mode: "host"
# volumes:
# - ../Documents/emo/Proxy:/app
# working_dir: /app
# # The proxy now listens on 8080 as plain HTTP
# command: go run emoProxy.go
# restart: unless-stopped