修复 docker-compose 配置

This commit is contained in:
whyour
2023-05-22 20:20:46 +08:00
parent ae5db60211
commit ca150dc6a6
2 changed files with 6 additions and 6 deletions
+3 -5
View File
@@ -1,14 +1,12 @@
version: '2'
services:
web:
# alpine 基础镜像版本
image: whyour/qinglong:latest
# debian-slim 基础镜像版本
# image: whyour/qinglong:debian
volumes:
- ./data:/ql/data
ports:
- "0.0.0.0:5700:5700"
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-sf", "http://127.0.0.1:5400/api/health", "||", "exit", "1"]
interval: 2m
timeout: 10s
retries: 3