chore: remove hf_backend, keep only wizard and hf_frontend
This commit is contained in:
@@ -38,34 +38,16 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
|
|
||||||
hf_backend:
|
|
||||||
image: git.hangman-lab.top/zhi/harborforge-backend:multi-stage
|
|
||||||
ports:
|
|
||||||
- "$HF_BACKEND_PORT:8000"
|
|
||||||
volumes:
|
|
||||||
- wizard_config:/config:ro
|
|
||||||
environment:
|
|
||||||
CONFIG_DIR: /config
|
|
||||||
CONFIG_FILE: harborforge.json
|
|
||||||
SECRET_KEY: ${HF_SECRET_KEY:-change_me_in_production}
|
|
||||||
LOG_LEVEL: ${HF_LOG_LEVEL:-INFO}
|
|
||||||
depends_on:
|
|
||||||
mysql:
|
|
||||||
condition: service_healthy
|
|
||||||
networks:
|
|
||||||
- app-network
|
|
||||||
|
|
||||||
hf_frontend:
|
hf_frontend:
|
||||||
image: git.hangman-lab.top/zhi/harborforge-frontend:latest
|
image: git.hangman-lab.top/zhi/harborforge-frontend:latest
|
||||||
ports:
|
ports:
|
||||||
- "$HF_FRONTEND_PORT:3000"
|
- "$HF_FRONTEND_PORT:3000"
|
||||||
environment:
|
environment:
|
||||||
VITE_API_BASE_URL: http://hf_backend:${HF_BACKEND_PORT:-8000}
|
VITE_API_BASE_URL: http://wizard:${WIZARD_PORT:-8082}
|
||||||
VITE_WIZARD_PORT: ${WIZARD_PORT:-8082}
|
VITE_WIZARD_PORT: ${WIZARD_PORT:-8082}
|
||||||
FRONTEND_DEV_MODE: ${HF_FRONTEND_DEV_MODE:-0}
|
FRONTEND_DEV_MODE: ${HF_FRONTEND_DEV_MODE:-0}
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
depends_on:
|
depends_on:
|
||||||
- hf_backend
|
|
||||||
- wizard
|
- wizard
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
|
|||||||
Reference in New Issue
Block a user