Last active
February 28, 2026 08:33
-
-
Save michaelgold/086755bc6d5d3b943fe4e6f371182481 to your computer and use it in GitHub Desktop.
minimax 2.5 docker compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| minimax: | |
| image: ghcr.io/ggml-org/llama.cpp:server-cuda | |
| container_name: minimax-m25 | |
| restart: unless-stopped | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: all | |
| capabilities: [gpu] | |
| environment: | |
| - NVIDIA_VISIBLE_DEVICES=all | |
| - NVIDIA_DRIVER_CAPABILITIES=compute,utility | |
| volumes: | |
| - ./models:/models | |
| ports: | |
| - "8080:8080" | |
| command: > | |
| -m /models/minimax-m2.5/minimax-m2.5-Q4_K_M.gguf | |
| --host 0.0.0.0 | |
| --port 8080 | |
| -ngl 999 | |
| --ctx-size 24576 | |
| --cpu-moe | |
| --no-warmup | |
| --parallel 1 | |
| --batch-size 1024 | |
| --ubatch-size 256 | |
| --threads 32 | |
| --threads-batch 32 | |
| open-webui: | |
| image: ghcr.io/open-webui/open-webui:main | |
| container_name: open-webui | |
| depends_on: | |
| - minimax | |
| restart: unless-stopped | |
| ports: | |
| - "3000:8080" | |
| environment: | |
| # WebUI expects OpenAI-compatible base | |
| - OPENAI_API_BASE_URL=http://minimax:8080/v1 | |
| - OPENAI_API_KEY=dummy | |
| # optional but nice: | |
| - WEBUI_AUTH=false |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to bootstrap:
run
optional (reduce disk swapping)