First connect to your server:
ssh -i ~/.ssh/YOUR_KEY_FILE ubuntu@YOUR_SERVER_IPIf you get a host key warning, run:
ssh-keygen -R YOUR_SERVER_IPThis happens when the server IP changes or is reused.
# Clone the repository
rm -rf comfy-stack # Remove existing directory if needed
git clone https://github.com/baihne/comfy-stack.git
cd comfy-stack
# Choose your deployment option:./deployment/deploy_hunyuan_2mv_optimized.sh TAILSCALE_AUTH_KEY standardAccess: http://100.x.x.x:7861
./deployment/deploy_hunyuan_hybrid.sh TAILSCALE_AUTH_KEY standardAccess: http://100.x.x.x:7862
./deployment/deploy_comfyui_wan.sh TAILSCALE_AUTH_KEYAccess: http://100.x.x.x:8188
HF_TOKEN=<your_hf_token_if_needed> ./deployment/deploy_comfyui_flux2_dev.sh TAILSCALE_AUTH_KEYAccess: http://100.x.x.x:8188
HF_TOKEN=<your_hf_token_if_needed> ./deployment/deploy_comfyui_flux2_full.sh TAILSCALE_AUTH_KEYAccess: http://100.x.x.x:8188
./deploy.shSelect Flux 2 (repack or full), Wan2.2, or Hunyuan variants; you can also input Tailscale/HF tokens when prompted.
| Service | Port | Access URL |
|---|---|---|
| Hunyuan3D-2mv | 7861 | http://100.x.x.x:7861 |
| Hunyuan3D Hybrid | 7862 | http://100.x.x.x:7862 |
| Hunyuan3D-2.1 | 7860 | http://100.x.x.x:7860 |
| ComfyUI | 8188 | http://100.x.x.x:8188 |
standard- Best qualityturbo- Fast generationfast- Rapid prototyping
See docs/ folder for detailed guides and troubleshooting.