feat:1. 更新 docker-compose 2. uodate 指令添加nginx重启功能

This commit is contained in:
weifashi 2023-08-30 10:54:16 +08:00
parent 288e265aaa
commit 6f7b44cb08
2 changed files with 2 additions and 0 deletions

1
cmd
View File

@ -349,6 +349,7 @@ if [ $# -gt 0 ]; then
run_exec php "composer update" run_exec php "composer update"
fi fi
run_exec php "php artisan migrate" run_exec php "php artisan migrate"
run_exec nginx "nginx -s reload"
restart_php restart_php
$COMPOSE up -d $COMPOSE up -d
elif [[ "$1" == "uninstall" ]]; then elif [[ "$1" == "uninstall" ]]; then

View File

@ -49,6 +49,7 @@ services:
- drawio-webapp - drawio-webapp
- drawio-export - drawio-export
- minder - minder
- okr
- ai - ai
restart: unless-stopped restart: unless-stopped