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.
Deploy your sovereign development hub in minutes.
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.
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.
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.