This commit is contained in:
2026-08-17 13:19:15 +08:00
parent 2b7c1c790b
commit 0e93c4f0a9
314 changed files with 2151 additions and 17468 deletions
+2 -3
View File
@@ -1,18 +1,17 @@
services:
slogan-agent:
# 统一镜像包含 Flutter web 前端(Dockerfile web-builder stage 构建)
# 统一镜像包含 uni-app H5 前端(Dockerfile web-builder stage 构建)
build:
context: ..
dockerfile: server/Dockerfile
container_name: slogan-agent
restart: unless-stopped
ports:
- "3007:3007"
- "8080:8080"
volumes:
# SQLite 数据库(config.yml 已指向 data/ 子目录,容器内 /app/data 与宿主机 ./data 互通)
- ./data:/app/data
# 生成的图片 / GLB 等运行时产物
- ./workspace:/app/workspace
# 容器内运行前需在 config.yml 调整:
# render.node_bin → "/usr/bin/node"(镜像内置 alpine node,非 macOS nvm 路径)
# payment.notify_url → 公网可达地址(支付回调容器内 localhost 不可达)