mirror of
https://gitee.com/zmister/MrDoc.git
synced 2025-12-06 11:30:15 +08:00
优化docker启动脚本
This commit is contained in:
@@ -5,7 +5,7 @@ python /app/MrDoc/manage.py makemigrations &&
|
||||
# 根据数据库迁移文件执行数据库变更
|
||||
python /app/MrDoc/manage.py migrate &&
|
||||
# 重建全文搜索索引
|
||||
nohup echo y |python /app/MrDoc/manage.py rebuild_index &&
|
||||
nohup echo y |python /app/MrDoc/manage.py rebuild_index &
|
||||
# 启动uwsgi
|
||||
uwsgi --ini /app/MrDoc/config/uwsgi.ini
|
||||
# 直接 runserver 方式运行
|
||||
|
||||
Reference in New Issue
Block a user