增加acme目录持久化
This commit is contained in:
parent
267429b229
commit
abab251aa1
@ -27,6 +27,7 @@
|
||||
"acme": {
|
||||
"domain": ["你的域名"],
|
||||
"email": "你的邮箱",
|
||||
"data_directory": "/etc/sing-box/acme",
|
||||
"dns01_challenge": {
|
||||
"provider": "cloudflare",
|
||||
"api_token": "你的Cloudflare_API_Token"
|
||||
@ -54,4 +55,4 @@
|
||||
],
|
||||
"final": "direct"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,4 +7,5 @@ services:
|
||||
volumes:
|
||||
- ./config/config.json:/etc/sing-box/config.json
|
||||
- ./tls:/etc/sing-box/tls
|
||||
- ./acme:/etc/sing-box/acme
|
||||
command: -C /etc/sing-box run
|
||||
Loading…
Reference in New Issue
Block a user