A complete HiMarket deployment includes the following components:
- MySQL - Database service
- Nacos - Configuration center
- Higress - AI Gateway
- Redis - Cache service
- HiMarket - Server + Admin + Frontend + Sandbox
Two deployment methods are available:
- Docker Compose - Suitable for local development and single-machine deployment
- Helm (Kubernetes) - Suitable for production environments and cluster deployment
Both methods use the interactive guided script install.sh, which automatically completes all configuration and initialization.
dockerdocker composecurljq
git clone https://github.com/higress-group/himarket.git
cd himarket/deploy/docker
./install.shThe script will guide you step by step through all configurations, including image selection, password setup, AI model configuration, etc.
cp .env.example ~/himarket-install.env
# Edit ~/himarket-install.env to modify configurations as needed
./install.sh -n./install.sh --uninstallRe-run ./install.sh, and the script will automatically detect existing deployments and provide upgrade options.
| Service | Host Port | Description |
|---|---|---|
| HiMarket Admin | 5174 | Admin console UI |
| HiMarket Frontend | 5173 | Developer portal UI |
| HiMarket Server | 8081 | Backend API service |
| Nacos | 8848 | Nacos console |
| Higress Console | 8001 | Higress console |
| Higress Gateway | 8082 | Gateway HTTP endpoint |
| MySQL | 3306 | Database service |
| Redis | 6379 | Redis service |
kubectl(connected to a K8s cluster)helmcurljqpython3
git clone https://github.com/higress-group/himarket.git
cd himarket/deploy/helm
./install.shcp .env.example ~/himarket-install.env
# Edit configurations
./install.sh -n./install.sh --uninstallRe-run ./install.sh, and the script will automatically detect existing deployments and provide upgrade options.
- Deploys to the
himarketnamespace by default - Admin and Frontend services use LoadBalancer type by default
- In interactive mode, the script guides you through all configuration items (images, database passwords, service credentials, default users, AI models, etc.)
- Configurations are automatically saved to
~/himarket-install.envand reused for subsequent upgrades .env.exampleis the configuration template containing all configurable items with default values, suitable for non-interactive mode- Log file is located at
~/himarket-install.log
Docker method:
docker compose logs -fHelm method:
kubectl logs -n himarket <pod-name>Check the log file:
cat ~/himarket-install.logHook scripts are located in the hooks/post_ready.d/ directory and can be executed independently.
- Interactive mode: The script provides skip options
- Non-interactive mode: Control via environment variables, e.g.,
SKIP_MCP_INIT=true