Skip to content

Commit acd1ed1

Browse files
jss-tgipcjs
andauthored
fix: 修改MAINTAIN_TOKEN_DIR的默认值 (#16)
参考: https://github.com/TranscodeGroup/docker/pull/10/files Co-authored-by: ipcjs.mac4 <[email protected]>
1 parent b5f1a61 commit acd1ed1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.env.default

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ JTT808_PORT_FTP_PASSIVE=9041-9049
7070
## maintain
7171
MAINTAIN_HOST='maintain' # maintain | ${SERVER_IP_INTERNAL} | ${SERVER_IP_PUBLIC}
7272
MAINTAIN_PORT='8080'
73-
# TOKEN目录的绝对路径
74-
# - access/ras_key|ras_key.pub: 访问密钥的公私钥对, 不存在会自动下载
75-
# - refresh/ras_key|ras_key.pub: 刷新密钥的公私钥对, 不存在会自动下载
76-
# - ip2region.xdb: ip到区域的映射数据, 不存在会自动下载, 手动下载连接: https://raw.githubusercontent.com/lionsoul2014/ip2region/master/data/ip2region.xdb
77-
MAINTAIN_TOKEN_DIR='/home/token'
73+
# TOKEN目录的绝对路径, 包含以下文件, 最新版服务器已经支持自动生成/下载这些文件:
74+
# - access/ras_key|ras_key.pub: 访问密钥的公私钥对
75+
# - refresh/ras_key|ras_key.pub: 刷新密钥的公私钥对
76+
# - ip2region.xdb: ip到区域的映射数据, 手动下载连接: https://raw.githubusercontent.com/lionsoul2014/ip2region/master/data/ip2region.xdb
77+
MAINTAIN_TOKEN_DIR='/home/docker-compose/token'
7878

7979
## MYSQL, 必填
8080
MYSQL_HOST='mysql8' # mysql8 | ${SERVER_IP_INTERNAL} | ${SERVER_IP_PUBLIC}

maintain/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
restart: always
66
volumes:
77
- /etc/localtime:/etc/localtime
8-
- ${MAINTAIN_TOKEN_DIR:-/home/token}:/home/token
8+
- ${MAINTAIN_TOKEN_DIR:-/home/docker-compose/token}:/home/token
99
- /data/logs/maintain:/logs
1010
- /data/fonts:/data/fonts
1111
ports:

0 commit comments

Comments
 (0)