Docker Compose 部署 Sub-Store

version: "3.8"
services:
  sub-store:
    image: xream/sub-store:latest
    container_name: sub-store
    restart: always
    volumes:
      - /root/sub-store-data:/opt/app/data
    environment:
      - SUB_STORE_FRONTEND_BACKEND_PATH=/123456RGfdd999999999
    ports:
      - 10.10.10.162:3001:3001
    stdin_open: true
    tty: true
一键配置打开 本地前端+本地后端
http://10.10.10.162:3001/?api=http://10.10.10.162:3001/123456RGfdd999999999

简单验证可以看到版本信息

http://10.10.10.162:3001/123456RGfdd999999999/api/utils/env

更新

docker-compose pull
docker-compose down
docker-compose up -d
docker-system prune -f