Files
storyforge/deploy/storyforge-server-huobao.compose.yaml
kris c3e9b7edbc
Some checks failed
StoryForge CI / Baseline checks (push) Has been cancelled
StoryForge CI / Backend tests (push) Has been cancelled
StoryForge CI / Web tests (push) Has been cancelled
feat: migrate public n8n and huobao to server
2026-04-06 10:34:01 +08:00

26 lines
1008 B
YAML

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