Skip to content
crperdue73Public

About

A docker compose based enterprise stack for your home server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

45 Commits

Folders and files

Repository files navigation

ForgeBox — a datacenter you strike out of spare iron

ForgeBox

Your enterprise homelab, unleashed. Turn that unused PC into a powerful, professional-grade datacenter with a single command.

Current release: v1.0.0 — changelog

That unused PC in the corner? It's a datacenter. You just haven't run the command yet.

What is ForgeBox?

ForgeBox is a complete "Datacenter-in-a-Box" solution that transforms any standard computer — an old desktop, a retired workstation, or a mini-PC — into a fully-featured homelab. It ships as a pre-configured, integrated stack of the same enterprise-grade tools used by IT professionals worldwide, managed through one unified system.

The magic is a single docker-compose.yml. After a minimal setup, you run one command. ForgeBox deploys and connects 30+ essential services — tested together, so there are no port conflicts, dependency issues, or version mismatches to fight at 2 AM.

What makes it different

  • Tested together, not just collected. Every container is pre-configured to coexist.
  • Built for DragonForge Linux. The Gitea + Semaphore + Jenkins trio mirrors real DevOps workflows you'll be tested on.
  • One command to deploy, zero commands to maintain. Watchtower updates; Uptime Kuma watches.
  • Total control. Your data, your rules. No subscriptions.

Quick start

# 1. Install Docker + git on a fresh Debian/Ubuntu host
bash install.sh

# 2. Configure
cp .env.example .env && $EDITOR .env

# 3. Deploy the core
docker compose up -d

Then open the ForgeBox dashboard (Heimdall) at http://<host>:8080.

First start takes a while, and npm is the reason. A new Nginx Proxy Manager container spends ~20 minutes in init on some hosts before :81 answers, and most of that time docker compose ps will show it unhealthy — its healthcheck fails on a short timer, not on whether init will finish. That is init, not a failure: it re-walks a 9,303-file tree it ships inside the container, and no clock bounds it reliably. It is paid again on any recreate or rebuild, even on volumes you have had for months. Everything else is up while it works. See docs/troubleshooting.md.

What to expect, so you are not debugging normal behaviour:

When What you will see Is it broken?
minute 1 everything starts; npm is starting no
minute 2 npm flips to unhealthy no — its healthcheck has a 30s timer and 3 tries, then reports the truth about :81
minute 5 npm still unhealthy no — do not restart it; a restart only pays the wait again
minute 21 npm turns healthy, :81 answers nothing was wrong — watched once at 21.5 min; slower disks take longer, and nothing bounds it from above

To tell "still working" from "actually broken", ask the container rather than the status:

docker top forgebox-npm-1 | grep chown

chown present means still initialising — wait. chown gone and :81 still refusing means genuinely broken — read docker compose logs npm. On a fresh install this was watched end to end at 21.5 minutes with no restart, so the number above is observed, not a ceiling.

Add more of the stack (profiles)

ForgeBox uses compose profiles so a small host can run a subset and a big one can run it all.

docker compose up -d                                   # core only
docker compose --profile devops up -d                  # core + DevOps
docker compose --profile devops --profile media up -d  # several
docker compose --profile "*" up -d                     # everything

Note: there is no profile literally named all. Use the wildcard --profile "*" (keep the quotes so your shell doesn't glob it) to enable every profile — --profile all silently starts core only.

Profile Services
(core, none) Portainer, Heimdall, Nginx Proxy Manager, Uptime Kuma, Watchtower, Glances
security Pi-hole, WireGuard, Vaultwarden
vpn Gluetun (opt-in — needs a host /dev/net/tun; see below)
devops Gitea, Semaphore, Jenkins, code-server, Guacamole
media Jellyfin, Sonarr, Radarr, Prowlarr, qBittorrent, Overseerr
productivity Home Assistant, Paperless-ngx, Vikunja, Linkding, n8n
files Nextcloud, Syncthing, Chibisafe

Gluetun is opt-in. It's the only service in the vpn profile and needs a host /dev/net/tun device node (present on bare metal / VMs, absent in unprivileged LXC by default). It is not part of the security profile, so --profile security runs clean without it. Note the wildcard --profile "*" does include vpn — on a host without tun that run brings up everything else and then errors on Gluetun alone (everything else keeps running). To run Gluetun, ensure the device exists (see docs/troubleshooting.md) and start it explicitly: docker compose --profile vpn up -d.

Documentation

Requirements

  • A 64-bit host running Debian 12+ / Ubuntu 22.04+ (DragonForge Linux recommended)
  • Docker Engine + Compose v2
  • 2 cores / 4 GB RAM minimum for the core profile
  • More for the heavy profiles (see docs/services.md for sizing)

License

See LICENSE.


Maintained by CR Perdue Technologies. Built for the DragonForge Linux learning path.

About

A docker compose based enterprise stack for your home server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages