mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
docker set LOG_FILE=/dev/stdout
This commit is contained in:
@@ -40,6 +40,7 @@ if [ "$SERVICE_NAME" = "php" ]; then
|
|||||||
if [ ! -f "$ENV_FILE" ]; then
|
if [ ! -f "$ENV_FILE" ]; then
|
||||||
echo_info ".env file: $ENV_FILE not exists, copy $SOURCE_DIR to $TARGET_DIR ..."
|
echo_info ".env file: $ENV_FILE not exists, copy $SOURCE_DIR to $TARGET_DIR ..."
|
||||||
cp -r "$SOURCE_DIR" "$TARGET_DIR"
|
cp -r "$SOURCE_DIR" "$TARGET_DIR"
|
||||||
|
sed -i 's|LOG_FILE.*|LOG_FILE=/dev/stdout|g' "$ROOT_PATH/.env.example"
|
||||||
else
|
else
|
||||||
echo_success ".env file: $ENV_FILE already exists, skip copy install file ..."
|
echo_success ".env file: $ENV_FILE already exists, skip copy install file ..."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user