添加演示模式.

This commit is contained in:
lijiahang
2024-05-23 13:56:03 +08:00
parent ca8e629e4c
commit c201eb301f
35 changed files with 163 additions and 122 deletions

View File

@@ -1,4 +1,8 @@
#/bin/bash
docker compose down
sh ./pull.sh
# demo 启动
if [ "$1" == "demo" ]; then
sed -i 's/DEMO_MODE=false/DEMO_MODE=true/g' docker-compose.yml
fi
docker compose up -d