-
Notifications
You must be signed in to change notification settings - Fork 1
/
vultr-docker-compose.yml
116 lines (111 loc) · 2.95 KB
/
vultr-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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: '3'
services:
derper:
image: ppcelery/derper:latest
restart: unless-stopped
environment:
ADDR: vultr.laisky.com
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 8.8.8.8
- 1.1.1.1
volumes:
- /opt/configs/swag/vultr/etc/letsencrypt/live/vultr.laisky.com/fullchain.pem:/etc/live/vultr.laisky.com.crt:ro
- /opt/configs/swag/vultr/etc/letsencrypt/live/vultr.laisky.com/privkey.pem:/etc/live/vultr.laisky.com.key:ro
ports:
- 3478:3478/udp
- 12444:12444
entrypoint: /app/derper -c=$HOME/derper.conf --hostname=vultr.laisky.com -a :12444 -stun -certdir=/etc/live -certmode=manual
glider:
image: ppcelery/glider:latest
restart: unless-stopped
dns:
- 8.8.8.8
- 1.1.1.1
logging:
driver: "json-file"
options:
max-size: "10m"
# network_mode: host
ports:
- 100.71.231.111:17776:17776
- 100.71.231.111:17777:17777
volumes:
- /opt/configs/glider/vultr/glider.conf:/app/glider.conf:ro
swag:
image: lscr.io/linuxserver/swag:latest
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
- URL=vultr.laisky.com
- VALIDATION=dns
- SUBDOMAINS=wildcard
- DNSPLUGIN=cloudflare
volumes:
# - /var/log/nginx:/var/log/nginx
- /opt/configs/swag/vultr:/config
# - /opt/configs/nginx/conf.d/b1:/config/nginx/site-confs
dns:
- 8.8.8.8
- 1.1.1.1
# ports:
# - 443:443
# - 80:80
restart: unless-stopped
hysteria:
image: tobyxdd/hysteria
restart: "always"
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 1.1.1.1
- 8.8.8.8
ports:
- 28998:8998/udp
volumes:
- /opt/configs/swag/vultr/etc/letsencrypt:/etc/letsencrypt:ro
- /opt/configs/hysteria/vultr/server.yaml:/etc/hysteria/server.yaml:ro
command: ["server", "-c", "/etc/hysteria/server.yaml"]
haproxy:
image: haproxy:2.5.1-alpine
restart: always
dns:
- 8.8.8.8
- 1.1.1.1
logging:
driver: "json-file"
options:
max-size: "10m"
# network_mode: host
ports:
- 443:28443
volumes:
- /opt/configs/haproxy/vultr.cfg:/etc/haproxy/proxy.cfg:ro
command: -f /etc/haproxy/proxy.cfg
trojan-go:
image: ppcelery/trojan-go:latest
restart: unless-stopped
# network_mode: host
dns:
- 8.8.8.8
- 1.1.1.1
logging:
driver: "json-file"
options:
max-size: "10m"
ports:
- 23443:23443
volumes:
- /opt/configs/swag/vultr/etc/letsencrypt/live/vultr.laisky.com/fullchain.pem:/etc/live/vultr.laisky.com.crt:ro
- /opt/configs/swag/vultr/etc/letsencrypt/live/vultr.laisky.com/privkey.pem:/etc/live/vultr.laisky.com.key:ro
- /opt/configs/trojan-go/vultr:/etc/torjan-go/config:ro
command: /etc/torjan-go/config/server.json