爱影CMS 测试

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-08-13 17:55:23 +08:00
parent 821f03d72e
commit 3767157421
4 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,14 @@
{
"dbType": 0,
"dbHost": "",
"dbName": "",
"dbUser": "",
"dbPassword": "",
"dbPort": 0,
"backendPort": 21007,
"openHttp": true,
"httpPort": 80,
"openHttps": true,
"httpsPort": 443,
"env": ""
}

View File

@ -18,4 +18,4 @@ services:
- ${PANEL_APP_PORT_ADMIN}:21007 - ${PANEL_APP_PORT_ADMIN}:21007
volumes: volumes:
- ${IYCMS_ROOT_PATH}/data:/app/iycms/data - ${IYCMS_ROOT_PATH}/data:/app/iycms/data
- ${IYCMS_ROOT_PATH}/config.conf:/app/iycms/config.conf - ${IYCMS_ROOT_PATH}/config/config.conf:/app/iycms/config.conf

View File

@ -8,6 +8,10 @@ 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
cp -r ./config ${IYCMS_ROOT_PATH}/config
fi
echo "Check Finish." echo "Check Finish."
else else

View File

@ -8,6 +8,10 @@ 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
cp -r ./config ${IYCMS_ROOT_PATH}/config
fi
echo "Check Finish." echo "Check Finish."
else else