mirror of https://github.com/Nofated095/Q2TG.git
fix: Docker IPv6
This commit is contained in:
parent
004095fbcf
commit
e383f67173
|
@ -41,6 +41,7 @@ in
|
|||
FFMPEG_PATH = "${cfg.ffmpeg-package}/bin/ffmpeg";
|
||||
FFPROBE_PATH = "${cfg.ffmpeg-package}/bin/ffprobe";
|
||||
FONTCONFIG_PATH = cfg.quotly-fonts;
|
||||
IPV6 = "1";
|
||||
};
|
||||
serviceConfig = {
|
||||
User = "q2tg";
|
||||
|
|
|
@ -46,7 +46,7 @@ export default class Telegram {
|
|||
langCode: 'zh',
|
||||
deviceModel: `${appName} On ${os.hostname()}`,
|
||||
appVersion: 'rainbowcat',
|
||||
useIPV6: true,
|
||||
useIPV6: !!process.env.IPV6,
|
||||
proxy: process.env.PROXY_IP ? {
|
||||
socksType: 5,
|
||||
ip: process.env.PROXY_IP,
|
||||
|
|
Loading…
Reference in New Issue