1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
CONTAINER_NAME="maddy-mail"
MAIL_DOMAIN="example.com"
MAIL_HOSTNAME="mail.example.com"
SMTP_IN_PORT="25"
IMAP4_PORT="143"
IMAP4_PORT2="993"
SMTP_S_PORT="465"
SMTP_S_PORT2="587"

View File

@@ -0,0 +1,56 @@
additionalProperties:
formFields:
- default: 25
disabled: true
envKey: SMTP_IN_PORT
labelEn: SMTP inbound port
labelZh: SMTP 入站端口
required: true
rule: paramPort
type: number
- default: 143
disabled: true
envKey: IMAP4_PORT
labelEn: IMAP4 port
labelZh: IMAP4 端口
required: true
rule: paramPort
type: number
- default: 993
disabled: true
envKey: IMAP4_PORT2
labelEn: IMAP4 port
labelZh: IMAP4 端口
required: true
rule: paramPort
type: number
- default: 465
disabled: true
envKey: SMTP_S_PORT
labelEn: SMTP Submission ports
labelZh: SMTP 提交端口
required: true
rule: paramPort
type: number
- default: 587
disabled: true
envKey: SMTP_S_PORT2
labelEn: SMTP Submission ports
labelZh: SMTP 提交端口
required: true
rule: paramPort
type: number
- default: mail.example.com
edit: true
envKey: MAIL_HOSTNAME
labelEn: Mail MX hostname
labelZh: 邮箱 MX 主机名
required: true
type: text
- default: example.com
edit: true
envKey: MAIL_DOMAIN
labelEn: Mail domain
labelZh: 邮箱域名
required: true
type: text

View File

@@ -0,0 +1,29 @@
version: '3'
services:
maddymail:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${SMTP_IN_PORT}:25"
- "${IMAP4_PORT}:143"
- "${SMTP_S_PORT}:465"
- "${SMTP_S_PORT2}:587"
- "${IMAP4_PORT2}:993"
volumes:
- maddydata:/data
environment:
- MADDY_HOSTNAME=${MAIL_HOSTNAME}
- MADDY_DOMAIN=${MAIL_DOMAIN}
image: foxcpp/maddy:latest
labels:
createdBy: "Apps"
volumes:
maddydata:
external: true
networks:
1panel-network:
external: true