Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2025-06-11 03:48:57 +00:00
parent a03ad4085f
commit cce59abd0b
191 changed files with 587 additions and 20 deletions
+9
View File
@@ -0,0 +1,9 @@
# SMTP 端口 [必填]
PANEL_APP_PORT_SMTP=8025
# IMAP 端口 [必填]
PANEL_APP_PORT_IMAP=11143
# 服务地址 [必填]
PROXY_URL=
+25
View File
@@ -0,0 +1,25 @@
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
- default: ""
edit: true
envKey: PROXY_URL
labelZh: 服务地址
labelEn: Server Address
required: true
type: text
@@ -0,0 +1,23 @@
networks:
1panel-network:
external: true
services:
smtp_proxy_server:
container_name: smtp-proxy-server
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- proxy_url=${PROXY_URL}
- port=${PANEL_APP_PORT_SMTP}
- imap_port=${PANEL_APP_PORT_IMAP}
image: ghcr.io/dreamhunter2333/cloudflare_temp_email/smtp_proxy_server:v0.10.0
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_SMTP}:${PANEL_APP_PORT_SMTP}
- ${PANEL_APP_PORT_IMAP}:${PANEL_APP_PORT_IMAP}
restart: always
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
@@ -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
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -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