mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-24 17:55:10 +08:00
爱影CMS 测试
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
3767157421
commit
2cdc2bf4e0
@ -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
|
||||||
|
@ -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."
|
||||||
|
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user