-
Notifications
You must be signed in to change notification settings - Fork 1
/
crossfire.yml.example
52 lines (45 loc) · 853 Bytes
/
crossfire.yml.example
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
version: '3.7'
services:
certbot:
image: caddy:2
environment:
- XDG_DATA_HOME=/data
- XDG_CONFIG_HOME=/config
ports:
- 80:80
- 443:443
configs:
- source: caddyfile
target: /etc/caddy/Caddyfile
volumes:
- caddy-data:/data/caddy
- caddy-config:/config/caddy
trojan:
image: trojangfw/trojan
ports:
- 8443:443
configs:
- source: trojan
target: /config/config.json
volumes:
- caddy-data:/cert
v2ray:
image: v2fly/v2fly-core
configs:
- source: v2ray
target: /etc/v2ray/config.json
sb:
image: abreto/sb
configs:
caddyfile:
file: ./Caddyfile
trojan:
file: ./trojan-server.json
v2ray:
file: ./v2ray-server.json
volumes:
caddy-data:
caddy-config:
networks:
default:
driver: overlay