1
0

(refactor) Remove env files and scripts, update config files

This commit is contained in:
pooneyy
2025-09-04 00:36:13 +08:00
parent 0906288534
commit 89fbe837f1
1566 changed files with 1159 additions and 15329 deletions

View File

@@ -14,9 +14,6 @@ services:
ports:
- ${PANEL_APP_PORT_SMTP}:${PANEL_APP_PORT_SMTP}
- ${PANEL_APP_PORT_IMAP}:${PANEL_APP_PORT_IMAP}
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}

View File

@@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@@ -1,17 +0,0 @@
#!/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

View File

@@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -1,17 +0,0 @@
#!/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

View File

@@ -9,6 +9,6 @@ additionalProperties:
type: website
crossVersionUpdate: true
limit: 0
website: https://temp-mail-docs.awsl.uk/
website: https://mail.awsl.uk/
github: https://github.com/dreamhunter2333/cloudflare_temp_email/
document: https://temp-mail-docs.awsl.uk/