Getting Started Guide
Deploy your sovereign development hub in minutes.
Self-Hosting mag
Mag is designed for straightforward self-hosting. You can run the entire suite—git daemon, database, redis cache, container registry, and dashboard—using Docker Compose on a single VPS.
Prerequisites
Ensure you have Docker and Docker Compose installed on your host VM. Open ports 80 (HTTP), 443 (HTTPS), 22 (SSH), and your designated WireGuard VPN ports if utilizing ephemerals.
Quick Deploy Command
Clone the main repository, customize the environment configuration in the '.env' file, and run 'docker compose -f docker-compose.prod.yml up -d' to launch the services.