1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2025-07-12 23:53:12 +08:00

1.修改镜像版本匹配readme.md 2.去除环境变量,根据新镜像匹配了新的目录匹配 3. 将pip3和pnpm的资源目录映射,避免镜像重新启动的dep丢失

This commit is contained in:
roiding
2025-05-16 16:29:58 +08:00
parent ededfc983e
commit 90c868c5f8
2 changed files with 14 additions and 28 deletions

View File

@ -1,17 +1,12 @@
version: '2'
services:
ql_web:
image: whyour/qinglong:2.11.3
image: whyour/qinglong:2.17.9
container_name: ql
volumes:
- ./data/config:/ql/config
- ./data/log:/ql/log
- ./data/db:/ql/db
- ./data/scripts:/ql/scripts
- ./data/repo:/ql/repo
- ./qinglong/data:/ql/data
- ./qinglong/deps/pnpm:/root/.local/share/pnpm
- ./qinglong/deps/pip3:/usr/local/lib/python3.11/site-packages
ports:
- "0.0.0.0:5700:5700"
environment:
- ENABLE_HANGUP=true
- ENABLE_WEB_PANEL=true
restart: always
- "5700:5700"
restart: unless-stopped

View File

@ -46,25 +46,16 @@ cd $ql_path
cat > docker-compose.yml <<EOF
version: '2'
services:
qinglong:
image: whyour/qinglong:2.11.3
container_name: qinglong
ql_web:
image: whyour/qinglong:2.17.9
container_name: ql
volumes:
- ./data/config:/ql/config
- ./data/log:/ql/log
- ./data/db:/ql/db
- ./data/scripts:/ql/scripts
- ./data/repo:/ql/repo
- ./qinglong/data:/ql/data
- ./qinglong/deps/pnpm:/root/.local/share/pnpm
- ./qinglong/deps/pip3:/usr/local/lib/python3.11/site-packages
ports:
- "0.0.0.0:5500:5700"
networks:
- net
environment:
- ENABLE_HANGUP=true
- ENABLE_WEB_PANEL=true
restart: always
networks:
net:
- "5700:5700"
restart: unless-stopped
EOF
docker-compose up -d
if [ $? -ne 0 ] ; then