Deployment
Deployment
Section titled “Deployment”Production deployment options for MindFry.
Docker (Recommended)
Section titled “Docker (Recommended)”docker run -d \ --name mindfry \ -p 9527:9527 \ -v mindfry-data:/data \ ghcr.io/laphilosophia/mindfry:latestDocker Compose
Section titled “Docker Compose”version: '3.8'services: mindfry: image: ghcr.io/laphilosophia/mindfry:latest ports: - '9527:9527' volumes: - mindfry-data:/data environment: - MINDFRY_LOG_LEVEL=info restart: unless-stopped
volumes: mindfry-data:Binary Installation
Section titled “Binary Installation”Download from GitHub Releases and run directly.
curl -LO https://github.com/laphilosophia/mindfry/releases/latest/download/mindfry-linux-amd64chmod +x mindfry-linux-amd64./mindfry-linux-amd64curl -LO https://github.com/laphilosophia/mindfry/releases/latest/download/mindfry-darwin-amd64chmod +x mindfry-darwin-amd64./mindfry-darwin-amd64Windows
Section titled “Windows”Invoke-WebRequest -Uri "https://github.com/laphilosophia/mindfry/releases/latest/download/mindfry-windows-amd64.exe" -OutFile "mindfry.exe".\mindfry.exeFrom Source
Section titled “From Source”git clone https://github.com/laphilosophia/mindfry.gitcd mindfrycargo build --release./target/release/mindfry-serverResource Requirements
Section titled “Resource Requirements”| Workload | RAM | CPU | Storage |
|---|---|---|---|
| Development | 256MB | 1 core | 100MB |
| Small (10K lineages) | 512MB | 2 cores | 500MB |
| Medium (100K lineages) | 2GB | 4 cores | 2GB |
| Large (1M lineages) | 8GB | 8 cores | 10GB |
Persistence
Section titled “Persistence”Data is stored in /data directory (configurable):
/data/├── akashic/ # sled database├── snapshots/ # Named checkpoints└── wal/ # Write-ahead logMount a volume to persist across restarts.