18
apps/smtp-proxy-server/0.9.1/data.yml
Normal file
18
apps/smtp-proxy-server/0.9.1/data.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 8025
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_SMTP
|
||||
labelZh: SMTP 端口
|
||||
labelEn: SMTP port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 11143
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_IMAP
|
||||
labelZh: IMAP 端口
|
||||
labelEn: IMAP port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
24
apps/smtp-proxy-server/0.9.1/docker-compose.yml
Normal file
24
apps/smtp-proxy-server/0.9.1/docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
smtp_proxy_server:
|
||||
image: ghcr.io/dreamhunter2333/cloudflare_temp_email/smtp_proxy_server:v0.9.1
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_SMTP:-8025}:8025
|
||||
- ${PANEL_APP_PORT_IMAP:-11143}:11143
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- proxy_url=${PROXY_URL}
|
||||
- port=${PANEL_APP_PORT_SMTP:-8025}
|
||||
- imap_port=${PANEL_APP_PORT_IMAP:-11143}
|
||||
2
apps/smtp-proxy-server/0.9.1/envs/default.env
Normal file
2
apps/smtp-proxy-server/0.9.1/envs/default.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
apps/smtp-proxy-server/0.9.1/envs/global.env
Normal file
2
apps/smtp-proxy-server/0.9.1/envs/global.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
17
apps/smtp-proxy-server/0.9.1/scripts/init.sh
Normal file
17
apps/smtp-proxy-server/0.9.1/scripts/init.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/smtp-proxy-server/0.9.1/scripts/uninstall.sh
Normal file
10
apps/smtp-proxy-server/0.9.1/scripts/uninstall.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
17
apps/smtp-proxy-server/0.9.1/scripts/upgrade.sh
Normal file
17
apps/smtp-proxy-server/0.9.1/scripts/upgrade.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
15
apps/smtp-proxy-server/README.md
Normal file
15
apps/smtp-proxy-server/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 临时邮箱 (代理服务)
|
||||
|
||||
搭建 CloudFlare 免费收发 临时域名邮箱
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 简介
|
||||
|
||||
临时邮箱
|
||||
|
||||
---
|
||||
|
||||

|
||||
14
apps/smtp-proxy-server/data.yml
Normal file
14
apps/smtp-proxy-server/data.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
additionalProperties:
|
||||
key: smtp-proxy-server
|
||||
name: 临时邮箱 (代理服务)
|
||||
tags:
|
||||
- WebSite
|
||||
- Local
|
||||
shortDescZh: 搭建 CloudFlare 免费收发 临时域名邮箱
|
||||
shortDescEn: Build CloudFlare to send and receive temporary domain name emails for free
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://temp-mail-docs.awsl.uk/
|
||||
github: https://github.com/dreamhunter2333/cloudflare_temp_email/
|
||||
document: https://temp-mail-docs.awsl.uk/
|
||||
BIN
apps/smtp-proxy-server/logo.png
Normal file
BIN
apps/smtp-proxy-server/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user