mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 14:56:58 +08:00
调试 邮件服务
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
e3b2467963
commit
a8a5430363
@ -175,3 +175,31 @@ additionalProperties:
|
|||||||
labelEn: SMTP relay password
|
labelEn: SMTP relay password
|
||||||
required: false
|
required: false
|
||||||
type: text
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: http_proxy
|
||||||
|
labelZh: 网络代理
|
||||||
|
labelEn: Network proxy
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: "localhost:127.0.0.1"
|
||||||
|
edit: true
|
||||||
|
envKey: DOMAIN_HOSTS1
|
||||||
|
labelZh: 固定域名解析
|
||||||
|
labelEn: Domain resolution
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "1.1.1.1"
|
||||||
|
edit: true
|
||||||
|
envKey: DNS1
|
||||||
|
labelZh: 域名解析 (DNS)
|
||||||
|
labelEn: Domain resolution (DNS)
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "114.114.114.114"
|
||||||
|
edit: true
|
||||||
|
envKey: DNS2
|
||||||
|
labelZh: 域名解析 (备用 DNS)
|
||||||
|
labelEn: Domain resolution (Backup DNS)
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
@ -12,6 +12,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
|
dns:
|
||||||
|
- ${DNS1}
|
||||||
|
- ${DNS2}
|
||||||
|
extra_hosts:
|
||||||
|
- ${DOMAIN_HOSTS1}
|
||||||
hostname: ${HOSTNAME_FQDN}
|
hostname: ${HOSTNAME_FQDN}
|
||||||
ports:
|
ports:
|
||||||
- ${PANEL_APP_PORT_SMTP}:25
|
- ${PANEL_APP_PORT_SMTP}:25
|
||||||
@ -41,6 +46,7 @@ services:
|
|||||||
- SSL_CERT_PATH=/tmp/dms/certs/${CERTS_PUBLIC_CRT:-public.crt}
|
- SSL_CERT_PATH=/tmp/dms/certs/${CERTS_PUBLIC_CRT:-public.crt}
|
||||||
- SSL_KEY_PATH=/tmp/dms/certs/${CERTS_PRIVATE_KEY:-private.key}
|
- SSL_KEY_PATH=/tmp/dms/certs/${CERTS_PRIVATE_KEY:-private.key}
|
||||||
- SPOOF_PROTECTION=1
|
- SPOOF_PROTECTION=1
|
||||||
|
- https_proxy=${http_proxy}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "ss --listening --tcp | grep -P 'LISTEN.+:smtp' || exit 1"
|
test: "ss --listening --tcp | grep -P 'LISTEN.+:smtp' || exit 1"
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
|
Loading…
Reference in New Issue
Block a user