Cloud Servers, Storage, Foundry & Self-Hosting
Mycelis Cloud Servers (/dashboard/servers)
If you do not want to dedicate physical hardware or manage VPS provisioning manually, navigate to Servers (/dashboard/servers) to rent per-minute billed Linux or Windows servers directly inside Mycelis.
Available Images & Providers
| Image | Provider | Best For |
|---|---|---|
LinuxHeadless (Ubuntu 24.04) |
Hetzner Cloud | Shell, APIs, builds, coding agents, and event watchers |
LinuxDesktop (Ubuntu 24.04 + XFCE + Xvfb) |
Hetzner Cloud | Browser tasks, GUI apps, and meetings (pre-configures PulseAudio virtual devices mycelis_meeting, mycelis_speak, mycelis_mic) |
WindowsDesktop (Windows Server 2022) |
Azure | Windows desktop software using UI Automation |
WindowsCore (Server Core) |
Azure | Headless Windows services and PowerShell workloads |
Three Setup Modes in the Server Wizard
When launching a server, pick your Roleplay setup mode:
- Mycelis Roleplay (Standard): Installs the runtime on first boot and enrolls automatically with a one-time code. All inbound ports stay closed, outbound port 25 is blocked against abuse, and no SSH password login is exposed.
- Custom Hub (Self-Hosted): Enrolls the rented VPS directly against your own Hub URL (
https://...+ one-time code), or pre-installs the runtime with SSH access for later enrollment. - Bare Server (No Roleplay): Plain Linux server with SSH key authentication (Windows always requires Roleplay setup).
Auto-Pause & Auto-Resume
Eliminate idle server costs by enabling Auto-Pause (15 / 30 / 60 / 120 / 240 minutes after the employee's last active or queued task):
- While paused, you pay only minimal idle storage rates (Hetzner snapshots and deletes the VM to stop compute billing; Azure deallocates the VM).
- When a new task arrives for that employee and Auto-Resume is enabled, Mycelis starts the server automatically and queues the task until the computer checks back in.
Persistent Cloud Storage (/dashboard/storage)
Under Storage (/dashboard/storage), rent S3-backed employee storage (Hetzner Object Storage in fsn1, nbg1, or hel1), billed per minute by actual usage:
- Continuous sync: Every 5 minutes and at the end of every task, the device syncs memories, skills, schedules, watch state, and task workspaces (
work/). - Zero storage credentials on device: Devices never receive static S3 access keys; the Hub issues short-lived presigned URLs (valid for 15 minutes).
- Safe server deletion & moves: Deleting a server or moving an employee triggers a final sync first, keeping all data intact for seamless re-attachment.
- ZIP export: Users granted
ExportStoragecan download a complete ZIP archive of a storage volume at any time.
Foundry (Local VMs & Containers)
For self-managed virtualization hosts, the open-source Foundry component (Mycelis.Roleplay.Foundry.HyperV on Windows and Mycelis.Roleplay.Foundry.Docker on Linux) provisions ephemeral local instances:
- Launch short-lived VMs or containers from any role via Roleplay → Computers (
/dashboard/roleplay/instances), either manually or automatically when an employee callsrequest_actor. - Every spawned instance requires a strict TTL (
ttlMinutes). Expiration, idle timeout, or an emergency stop triggers a kill cascade that tears down children before parents.
Self-Hosted Hub (Docker, Without Mycelis Cloud)
You can run the full Mycelis Roleplay Hub & Cockpit (Mycelis.Roleplay.Hub.Standalone, licensed under PolyForm Shield 1.0.0) on your own server.
Quick Deployment with Docker Compose & Caddy
mkdir mycelis-hub && cd mycelis-hub
for f in docker-compose.yml Caddyfile .env.example; do
curl -fsSLO https://raw.githubusercontent.com/Uskaaa/Mycelis-Roleplay/main/deploy/hub/$f
done
cp .env.example .env # Set POSTGRES_PASSWORD and HUB_DOMAIN
docker compose --profile https up -d
Open https://<HUB_DOMAIN>. On first visit, /setup guides you through creating the initial admin account (or pre-seed it via ROLEPLAY_ADMIN_EMAIL / ROLEPLAY_ADMIN_PASSWORD in .env). Public self-registration is disabled; invite teammates via user management, invite links (/admin/team-invitations), or LDAP/Active Directory (with optional 2FA).
Configuring Brain & Audio Endpoints
Under Self-Hosted Hub → Brain & Audio (/dashboard/roleplay/settings/brains), configure any provider with encrypted API key storage:
- Text & Vision: Ollama, vLLM, OpenAI-compatible servers, Anthropic (Claude), or a remote Mycelis platform via Personal Access Token (
/api/proxy/v1/*). - Audio & Video Knowledge: An active
transcriptionendpoint (e.g.,whisper-1, faster-whisper, or Speaches) transcribes uploaded audio/video tutorials; an optionalvisionendpoint (such as Qwen-VL or GPT-4o-mini) analyzes key frames (ffmpegis pre-installed in the Docker image).
Backups & Migrating to Mycelis Cloud
- Database backup:
docker compose exec postgres pg_dump -U mycelis mycelis_roleplay > backup.sql - Critical — back up
hub_keys: Always back up thehub_keysDocker volume (/app/data/keys). Without these Data Protection keys, encrypted Vault entries and API keys in the database backup cannot be decrypted. - Migrating devices: Use Switch Hub / Unenroll per device in the Cockpit (or inside the local Desktop App under Settings) to re-enroll devices against another Hub with a fresh one-time code, or carry local state via
state export/state import.
Next steps
- Mycelis Roleplay — Overview & Architecture — core architecture and invariants
- Security, Vault, Rules & Audit Log — cloud limits and
ExportStoragepermissions - CLI Reference —
enroll,unenroll,state export, andupdate
