Merge feat/task-type-hierarchy into main

This commit is contained in:
zhi
2026-03-12 13:12:17 +00:00
parent e1235fc7e1
commit d3a9bf715e
3 changed files with 10 additions and 8 deletions

1
AbstractWizard Symbolic link
View File

@@ -0,0 +1 @@
/opt/AbstractWizard

View File

@@ -1,5 +1,3 @@
version: '3.8'
services: services:
mysql: mysql:
image: mysql:8.0 image: mysql:8.0
@@ -25,10 +23,13 @@ services:
cpus: '0.5' cpus: '0.5'
memory: 512M memory: 512M
# AbstractWizard — 初始化配置管理 (localhost only, SSH tunnel access)
wizard: wizard:
image: git.hangman-lab.top/hzhang/abstract-wizard:latest build:
context: ${WIZARD_SRC:-./AbstractWizard}
dockerfile: Dockerfile
image: harborforge-wizard:dev
container_name: harborforge-wizard container_name: harborforge-wizard
user: 0:0
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- wizard_config:/config - wizard_config:/config
@@ -36,6 +37,7 @@ services:
CONFIG_DIR: /config CONFIG_DIR: /config
LISTEN_ADDR: "0.0.0.0:8080" LISTEN_ADDR: "0.0.0.0:8080"
MAX_BACKUPS: "5" MAX_BACKUPS: "5"
CORS_ORIGINS: http://127.0.0.1:3000,http://localhost:3000
ports: ports:
- "127.0.0.1:${WIZARD_PORT:-18080}:8080" - "127.0.0.1:${WIZARD_PORT:-18080}:8080"
deploy: deploy:
@@ -58,7 +60,7 @@ services:
volumes: volumes:
- wizard_config:/config:ro - wizard_config:/config:ro
ports: ports:
- "${BACKEND_PORT:-8000}:8000" - "127.0.0.1:${BACKEND_PORT:-8000}:8000"
depends_on: depends_on:
mysql: mysql:
condition: service_healthy condition: service_healthy
@@ -79,14 +81,13 @@ services:
context: ./HarborForge.Frontend context: ./HarborForge.Frontend
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
VITE_API_BASE: ${VITE_API_BASE:-/api}
VITE_WIZARD_PORT: ${WIZARD_PORT:-18080} VITE_WIZARD_PORT: ${WIZARD_PORT:-18080}
container_name: harborforge-frontend container_name: harborforge-frontend
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${FRONTEND_PORT:-3000}:3000" - "127.0.0.1:${FRONTEND_PORT:-3000}:3000"
depends_on: depends_on:
- backend - wizard
deploy: deploy:
resources: resources:
limits: limits:

0
docker-compose.yml.new Normal file
View File