Usage
cat > docker-compose.yml <<-'EOF'
# https://hub.docker.com/r/whyour/qinglong
# Port: 5700
version: "3"
services:
qinglong:
image: whyour/qinglong
network_mode: host
restart: always
volumes:
- $PWD/qinglong/data/:/ql/data/
healthcheck:
test: ["CMD", "curl", "-sf", "http://127.0.0.1:5400/api/health", "||", "exit", "1"]
interval: 2m
timeout: 10s
retries: 3
EOF
Start
docker-compose up --detach
Stop
docker-compose down
标签:compose,--,QingLong,Stop,up,docker
From: https://www.cnblogs.com/newhappy98/p/17420235.html