Dohub Dohub Docs

Quản trị viên

Server templates (Quick templates)

Thêm, sửa, xóa template hiển thị khi user tạo server.

Templates

Admin → Servers → Catalog

Quick templates

Mỗi template gồm: Name, CPU, RAM, GPU, icon, Docker image/tag, ports, mount paths, file mounts, env defaults, active.

Thêm template

  1. Điền hàng inline hoặc Add template.
  2. Mount paths — ví dụ /home/coder, /app/data.
  3. Default file mounts — upload file nhỏ + mount path.
  4. Environment defaults — JSON; hỗ trợ token {{username}}.

Sửa / xóa

  • Edit — modal đầy đủ trường + Sort order, Active.
  • Delete — gỡ template.
  • Download JSON / Import (JSON/CSV) — bulk.

Equipment catalogs

CPU, RAM, GPU options dùng trong dropdown form user:

  • CPU: 0.5, 2, … → Add.
  • RAM: 4G, 8G, …
  • GPU: 1:1024 (count:MiB VRAM).