Compare commits
1 Commits
revoxelseg
...
revoxelseg
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce78e3e4f4 |
@@ -1,27 +1,35 @@
|
|||||||
# ReVoxelSeg DICOM 独立 Docker 本机部署版。
|
# ReVoxelSeg DICOM / QNAP QTS Container Station 独立部署版。
|
||||||
# 在本目录执行:docker compose -f docker_compose.yaml up -d --build
|
# 建议完整目录放到:/share/Container/revoxelseg_dicom
|
||||||
# 局域网访问:http://192.168.3.11:4000/
|
# Container Station 可能不在项目根目录执行 Compose,因此这里使用绝对路径。
|
||||||
# 公网访问:https://revoxel.huijutec.cn/
|
|
||||||
|
|
||||||
name: revoxelseg-dicom-standalone
|
name: revoxelseg-dicom-qnap-standalone
|
||||||
|
|
||||||
services:
|
services:
|
||||||
revoxelseg_web:
|
revoxelseg_web:
|
||||||
image: revoxelseg-dicom:standalone-20260521
|
image: revoxelseg-dicom:standalone-qnap-20260521
|
||||||
build:
|
build:
|
||||||
context: .
|
context: /share/Container/revoxelseg_dicom
|
||||||
dockerfile: Dockerfile
|
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
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "4000:4000"
|
- "4000:4000"
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
PORT: 4000
|
PORT: 4000
|
||||||
APP_URL: http://192.168.3.11:4000
|
APP_URL: https://revoxel.huijutec.cn
|
||||||
TRUST_PROXY: "true"
|
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:
|
volumes:
|
||||||
- ./data:/app/WebSite/data
|
- /share/Container/revoxelseg_dicom/data:/app/WebSite/data
|
||||||
- ./exports:/app/WebSite/exports
|
- /share/Container/revoxelseg_dicom/exports:/app/WebSite/exports
|
||||||
healthcheck:
|
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))\""]
|
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
|
interval: 10s
|
||||||
|
|||||||
Reference in New Issue
Block a user