-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (50 loc) · 909 Bytes
/
docker-compose.yaml
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
services:
#wireshark:
# image: lscr.io/linuxserver/wireshark:latest
# container_name: wireshark
# network_mode: host
# cap_add:
# - NET_ADMIN
# security_opt:
# - seccomp:unconfined #optional
# environment:
# - PUID=1000
# - PGID=1000
# - TZ=Etc/UTC
# restart: unless-stopped
client:
image: curlimages/curl
entrypoint: sh -xc "while :; do sleep 10; done"
networks:
- local
forwarder:
build: .
command:
- forwarder
- -s
- server:1080
ports:
- "1080:1080"
networks:
- local
- public
volumes:
- ./ssllogs:/tmp/ssllogs
- ./certs:/certs:ro
server:
build: .
command:
- server
networks:
- public
- private
volumes:
- ./certs:/certs:ro
web:
image: nginx:alpine
networks:
- private
networks:
local:
public:
private: