支持自部署需求管理、交付流程与飞书集成
This commit is contained in:
1 parent
2149aeb6ed
commit
51a2e548f2
152 files changed
+8652
-6394
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: xuyouxu-demand-center
|
||||
services:
|
||||
app:
|
||||
image: xuyouxu-demand-center:20260923T093554Z-feishu-registration
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
NEXT_PUBLIC_BASE_PATH: ""
|
||||
init: true
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
HOSTNAME: 0.0.0.0
|
||||
PORT: "3000"
|
||||
DATA_DIR: /app/data
|
||||
LOGIN_CLIENT_IP_HEADER: x-real-ip
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
mem_limit: 1g
|
||||
cpus: 2
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:3000/api/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
||||
interval: 20s
|
||||
timeout: 5s
|
||||
start_period: 20s
|
||||
retries: 3
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
Reference in new issue
Block a user