services: storyforge-huobao: image: ${STORYFORGE_HUOBAO_IMAGE:-storyforge-huobao:cloud} build: context: ../../huobao-drama-source dockerfile: Dockerfile args: DOCKER_REGISTRY: ${STORYFORGE_HUOBAO_DOCKER_REGISTRY:-docker.m.daocloud.io/library/} NPM_REGISTRY: ${STORYFORGE_HUOBAO_NPM_REGISTRY:-https://registry.npmmirror.com} GO_PROXY: ${STORYFORGE_HUOBAO_GO_PROXY:-https://goproxy.cn,direct} ALPINE_MIRROR: ${STORYFORGE_HUOBAO_ALPINE_MIRROR:-mirrors.aliyun.com} container_name: storyforge-huobao restart: unless-stopped ports: - "${STORYFORGE_HUOBAO_PORT:-127.0.0.1:25678:5678}" environment: TZ: ${TZ:-Asia/Shanghai} volumes: - "${STORYFORGE_HUOBAO_STATE_ROOT:-/home/ubuntu/storyforge/data/huobao}/data:/app/data" healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5678/health"] interval: 30s timeout: 5s retries: 3 start_period: 20s