2026-05-21-14-19-12 NAS直接部署Release配置

This commit is contained in:
Codex
2026-05-21 14:22:08 +08:00
parent 57415a1a0b
commit ce78e3e4f4

View File

@@ -1,27 +1,35 @@
# ReVoxelSeg DICOM 独立 Docker 本机部署版。
# 在本目录执行docker compose -f docker_compose.yaml up -d --build
# 局域网访问http://192.168.3.11:4000/
# 公网访问https://revoxel.huijutec.cn/
# ReVoxelSeg DICOM / QNAP QTS Container Station 独立部署版。
# 建议完整目录放到:/share/Container/revoxelseg_dicom
# Container Station 可能不在项目根目录执行 Compose因此这里使用绝对路径。
name: revoxelseg-dicom-standalone
name: revoxelseg-dicom-qnap-standalone
services:
revoxelseg_web:
image: revoxelseg-dicom:standalone-20260521
image: revoxelseg-dicom:standalone-qnap-20260521
build:
context: .
context: /share/Container/revoxelseg_dicom
dockerfile: Dockerfile
args:
HTTP_PROXY: http://192.168.31.7:7893
HTTPS_PROXY: http://192.168.31.7:7893
NO_PROXY: localhost,127.0.0.1,192.168.31.0/24,192.168.3.0/24,revoxelseg_web,revoxelseg_frpc
restart: unless-stopped
ports:
- "4000:4000"
environment:
NODE_ENV: production
PORT: 4000
APP_URL: http://192.168.3.11:4000
APP_URL: https://revoxel.huijutec.cn
TRUST_PROXY: "true"
HTTP_PROXY: http://192.168.31.7:7893
HTTPS_PROXY: http://192.168.31.7:7893
http_proxy: http://192.168.31.7:7893
https_proxy: http://192.168.31.7:7893
NO_PROXY: localhost,127.0.0.1,192.168.31.0/24,192.168.3.0/24,revoxelseg_web,revoxelseg_frpc
volumes:
- ./data:/app/WebSite/data
- ./exports:/app/WebSite/exports
- /share/Container/revoxelseg_dicom/data:/app/WebSite/data
- /share/Container/revoxelseg_dicom/exports:/app/WebSite/exports
healthcheck:
test: ["CMD-SHELL", "node -e \"fetch('http://127.0.0.1:4000/api/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
interval: 10s