-
Notifications
You must be signed in to change notification settings - Fork 5
/
.env
67 lines (58 loc) · 1.62 KB
/
.env
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
# Please refer to the `README.md` for usage.
# Services
ENABLE_XRAY=
ENABLE_OCSERV=
# Domains
DOMAIN=example.com
XRAY_SNI=xr.$DOMAIN
XRAY_CDN_SNI=xrc.$DOMAIN
OCSERV_SNI=oc.$DOMAIN
EMAIL=admin@$DOMAIN
# Ports
TLS_PORT=443
CDN_TLS_PORT=$TLS_PORT
OCSERV_DTLS_PORT=$TLS_PORT
# DNS
ENABLE_AUTHORITATIVE_ZONE=
# ENABLE_DNSSEC=
DNS_CACHE_SIZE=10 # MB
DNS_IPV4=1.1.1.1
DNS_IPV6=2606:4700:4700::1111
# IPv4
PUBLIC_IPV4=0.0.0.0
OCSERV_IPV4_SUBNET=10.10.0.0/16
# IPv6
# ENABLE_IPV6=
IPV6_PREFIX=0:0:0:0
IPV6_SUBNET=$IPV6_PREFIX:10::/80
BYPASSHUB_IPV6=$IPV6_PREFIX:10::2
BIND_IPV6=$IPV6_PREFIX:10::3
CERTBOT_IPV6=$IPV6_PREFIX:10::4
NGINX_IPV6=$IPV6_PREFIX:10::5
XRAY_IPV6=$IPV6_PREFIX:10::6
OCSERV_IPV6=$IPV6_PREFIX:10::7
OCSERV_IPV6_SUBNET=$IPV6_PREFIX:10:10::/96
OCSERV_CLIENTS_IPV6_CIDR=112
# Misc
# ENABLE_CERTBOT_HTTP_MODE=
# ENABLE_XRAY_CDN=
ENABLE_XRAY_SUBSCRIPTION=
NGINX_LOG_PURGE_INTERVAL=86400 # Second
CERTBOT_RENEWAL_LEFT_DAYS=10 # Day
CLOUDFLARE_API_TOKEN=""
OCSERV_KEY=""
# API
# ENABLE_API=
# ENABLE_API_UI=
API_KEY=""
# DO NOT REMOVE OR MODIFY THE FOLLOWING PRAMETERS
COMPOSE_FILE=compose.yml${ENABLE_AUTHORITATIVE_ZONE+:compose.bind.yml}${ENABLE_CERTBOT_HTTP_MODE+:compose.certbot.yml}${ENABLE_OCSERV+:compose.ocserv.yml}
COMPOSE_PROFILES=default,${ENABLE_XRAY+xray},${ENABLE_OCSERV+ocserv}
ENABLE_AUTHORITATIVE_ZONE=${ENABLE_AUTHORITATIVE_ZONE+true}
ENABLE_DNSSEC=${ENABLE_DNSSEC+true}
ENABLE_IPV6=${ENABLE_IPV6+true}
ENABLE_CERTBOT_HTTP_MODE=${ENABLE_CERTBOT_HTTP_MODE+true}
ENABLE_XRAY_CDN=${ENABLE_XRAY_CDN+true}
ENABLE_XRAY_SUBSCRIPTION=${ENABLE_XRAY_SUBSCRIPTION+true}
ENABLE_API=${ENABLE_API+true}
ENABLE_API_UI=${ENABLE_API_UI+true}