爱影CMS 测试

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-08-13 18:12:33 +08:00
parent 3767157421
commit 2cdc2bf4e0
3 changed files with 7 additions and 4 deletions

View File

@ -16,6 +16,9 @@ services:
ports: ports:
- ${PANEL_APP_PORT_HTTP}:80 - ${PANEL_APP_PORT_HTTP}:80
- ${PANEL_APP_PORT_ADMIN}:21007 - ${PANEL_APP_PORT_ADMIN}:21007
env_file:
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes: volumes:
- ${IYCMS_ROOT_PATH}/data:/app/iycms/data - ${IYCMS_ROOT_PATH}/data:/app/iycms/data
- ${IYCMS_ROOT_PATH}/config/config.conf:/app/iycms/config.conf - ${IYCMS_ROOT_PATH}/config/config.conf:/app/iycms/config.conf

View File

@ -8,8 +8,8 @@ if [ -f .env ]; then
sed -i '/^ENV_FILE=/d' .env sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
if [ ! -d ${IYCMS_ROOT_PATH}/config ]; then if [ ! -d "$IYCMS_ROOT_PATH/config" ]; then
cp -r ./config ${IYCMS_ROOT_PATH}/config cp -r ./config "$IYCMS_ROOT_PATH/config"
fi fi
echo "Check Finish." echo "Check Finish."

View File

@ -8,8 +8,8 @@ if [ -f .env ]; then
sed -i '/^ENV_FILE=/d' .env sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
if [ ! -d ${IYCMS_ROOT_PATH}/config ]; then if [ ! -d "$IYCMS_ROOT_PATH/config" ]; then
cp -r ./config ${IYCMS_ROOT_PATH}/config cp -r ./config "$IYCMS_ROOT_PATH/config"
fi fi
echo "Check Finish." echo "Check Finish."