feat: setup wizard via SSH tunnel, config volume architecture
- Wizard binds 127.0.0.1 only, requires SSH tunnel for access - Shared config volume: wizard writes, backend reads - Backend waits for config file before starting uvicorn - Frontend detects backend health, shows setup wizard if not ready - Remove wizard-init container and init-config directory - Remove backend volume mount of source code - Update README with full deployment flow
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# MySQL
|
||||
# MySQL (docker-compose 内部默认值,wizard 配置优先)
|
||||
MYSQL_ROOT_PASSWORD=harborforge_root
|
||||
MYSQL_DATABASE=harborforge
|
||||
MYSQL_USER=harborforge
|
||||
@@ -10,10 +10,10 @@ SECRET_KEY=change_me_in_production
|
||||
LOG_LEVEL=INFO
|
||||
BACKEND_PORT=8000
|
||||
|
||||
# AbstractWizard
|
||||
WIZARD_URL=http://wizard:8080
|
||||
WIZARD_CONFIG=harborforge.json
|
||||
# AbstractWizard (localhost only)
|
||||
WIZARD_PORT=18080
|
||||
|
||||
# Frontend
|
||||
FRONTEND_PORT=3000
|
||||
VITE_API_BASE=/api
|
||||
VITE_WIZARD_PORT=18080
|
||||
|
||||
Reference in New Issue
Block a user