首页 > 其他分享 >QingLong

QingLong

时间:2023-05-22 11:55:59浏览次数:17  
标签:compose -- QingLong Stop up docker

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

相关文章

  • qinglong-青龙面板部署
    背景之前服务器部署过jd自动签到、刷豆的脚本,感觉还可以,薅羊毛每天1-2米左右,能把服务器成本薅回来,不过缺点不好管理,后面很久没人维护就凉了。最近了解到青龙面板能够很方......