One calm web app for everything running on your home server, however it got there.
In physics, the gluon is the particle that holds everything together. This one holds a home server together: health, apps, files, storage, network and diagnostics in one place, written in plain words. When something's wrong, Gluon says what it is, why, and offers the fix.
Warning
Gluon is young and changes quickly. It runs privileged on the host with the Docker socket, so try it on a server you have backups of, and read SECURITY.md before putting it on the internet.
On a Linux server with Docker and the Compose plugin:
git clone https://github.com/slukedev/gluon.git
cd gluon
docker compose -f docker/compose.yaml up -d --buildOr skip the clone and build straight from GitHub with one command (Docker Compose 2.20 or newer):
docker compose -f https://raw.githubusercontent.com/slukedev/gluon/main/docker/compose.remote.yaml up -d --buildThat builds the newest release, latest. Put GLUON_REF=edge in front to build the newest commit on
main instead, or GLUON_REF=v1.6.0 for a specific release. Run the same command again to update.
The first build takes a few minutes. Then open http://<your server>:8130 and enter the setup code,
which this prints:
docker exec gluon cat /data/setup-codeThat's it. Gluon shows what it found on the server before it changes anything. More detail is under Install.
- Health and alerts. One sentence on Home says whether everything is fine; anything that needs you comes with its cause and a one-click fix. Uptime monitors, drive health, certificates, crash loops, and notifications through ntfy, Pushover, email or webhooks.
- Apps. Every Docker container and Compose stack, including ones Umbrel or CasaOS installed: live CPU and memory, logs, safe compose editing, and a diagram of how each app is put together. Umbrel's app store works from inside Gluon.
- Files. A file manager for the whole machine with pinned folders, previews, thumbnails, uploads and a trash. Household members only see the folders you share with them.
- Storage. Disks as the physical things they are, a map of what's using space, mounting drives and making mounts survive a restart, renaming mount points (with the apps that use them).
- Network. Which apps are on the internet, at what address, whether each one works and whether it asks for a login, drawn as a map from the visitor to the app. Manages Caddy routes and certificates.
- Cloudflare. With one API token, apps can have addresses in any of your domains
(
media.example.com,example.net), and Gluon writes their DNS records, keeps them pointed at your internet address and sends web traffic through Cloudflare's proxy. Each domain's DNS records can be added, edited and removed from the Network page. - Chat and voice. Sets up and runs a Prosody (XMPP) chat server and a Mumble voice server, or takes over the ones you have: accounts, invite links, group chats, file sharing, phone notifications, and voice and video calls between homes through a coturn relay.
- Router. On AT&T BGW gateways (BGW320, BGW210), reads the router's own pages: the connection, fiber light level, live traffic, every device on the network, Wi-Fi and the firewall. With the router's access code it forwards the ports your apps need.
- Game servers. Minecraft Java addresses through mc-router (
survival.mc.example.com, all on port 25565), each checked with a real server ping, and port forwards for other games. With Cloudflare connected, their DNS records are kept too. - Sites. Plain web pages you make, upload or edit in the browser, published at an address of their own, with the last few versions kept for rolling back.
- System. OS updates, services, power, who's signed in over SSH, temperatures and memory by app.
- Automatic updates. Off until you turn them on: Gluon itself, apps that run from a moving tag (each app can follow the server's choice, always update or never), the system's packages, and a restart when an update asks for one, all in one hour of the night you pick.
- Diagnostics. A checkup that runs 60+ checks in seconds, targeted checks for "an app won't open" or "the internet is slow", and live use by app, traffic, connections, requests, processes and logs. A security checkup covers the firewall, IPv6, UPnP port openings on the router, SSH settings, keys and encryption, server accounts and sudo, file permissions, kernel protections, AppArmor or SELinux, automatic updates and OS support, container privileges and Gluon's own accounts.
- Home and household. A start page for everyone in the house, with widgets for Jellyfin, Immich, Navidrome, Homebridge, Crafty Controller and more. Accounts with roles, invites with a QR code, a grid of who can open what, and an activity log of every change.
The screenshots come from a demo server with made-up data; scripts/screenshots rebuilds it and takes them again.
- A 64-bit Linux server with systemd (Debian, Ubuntu, Fedora, Raspberry Pi OS and the like).
- Docker with the Compose plugin. If
docker compose versionprints a version, you're set; otherwise follow Docker's install guide. - About 2 GB of free disk for the build. Gluon itself uses little memory once it's running.
Gluon manages the host itself (Docker, disks, mounts, systemd, the network), so it runs as one privileged container on the host network with the Docker socket mounted. It can't be installed without that access.
-
Get the code and start it:
git clone https://github.com/slukedev/gluon.git cd gluon docker compose -f docker/compose.yaml up -d --build -
Open
http://<your server>:8130in a browser. Use the server's address on your network, such ashttp://192.168.1.10:8130. -
Enter the one-time setup code. It's printed when Gluon starts for the first time, and kept until the first account exists:
docker exec gluon cat /data/setup-code -
Create the first admin account, then follow the short first-run tour.
Umbrel and CasaOS installs can run Gluon the same way. Apps they installed show up in Gluon too.
Most settings live in the app. A few are environment variables in
docker/compose.yaml:
| Variable | Default | What it does |
|---|---|---|
PORT |
8130 |
The port Gluon listens on. |
TZ |
the container's | Time zone for schedules and times in logs, e.g. Europe/London. |
GLUON_DATA |
/data |
Where Gluon keeps its database and settings (the gluon-data volume). |
GLUON_SECRET_KEY_FILE |
$GLUON_DATA/secret.key |
The key that encrypts saved passwords and tokens. Put it on a separate volume or a Docker secret so a backup of the data volume can't be read on its own. An existing key moves there on the next start. Back it up separately: without it, saved credentials have to be entered again. |
GLUON_CADDY_DIR |
/proxy-caddy |
Caddy's config folder, for public addresses. |
GLUON_CADDY_SOCKET |
/run/caddy/admin.sock |
Caddy's admin socket. |
GLUON_CADDY_CONTAINER |
caddy |
The name of the Caddy container. |
GLUON_APPS_DIR |
found on its own | Where your Compose apps live, if Gluon picks the wrong folder. |
GLUON_LAN_HOST |
found on its own | The address apps are linked at on your network. |
GLUON_ROUTER_GATEWAY |
from the routing table | The router's address, for the Router page. |
GLUON_GITHUB_TOKEN |
none | A GitHub token, only if update checks hit GitHub's rate limit. |
After changing one, run docker compose -f docker/compose.yaml up -d again.
Network → Public addresses drives a Caddy container: Gluon writes
routes.json and a generated Caddyfile into Caddy's config folder and reloads Caddy through its
admin socket. Mount the config folder at /proxy-caddy and the admin socket's volume at /run/caddy
(see the comments in docker/compose.yaml).
Settings → Integrations → Cloudflare takes an API token with Zone · DNS · Edit and Zone · Zone · Read for your domains (add Zone · Zone Settings · Read and Gluon also warns when the SSL mode would break proxied addresses). From then on:
- Publishing an app offers every domain the token can see, so an address can be
media.example.comor another domain entirely, not only a name under the base domain. - DNS records for public addresses are added, changed and removed as you publish apps. Gluon marks the records it makes ("Managed by Gluon") and leaves every other record alone unless you hand a name over with "Let Gluon manage".
- Those records follow your internet address (checked every 5 minutes), so a separate dynamic DNS container isn't needed. Game addresses get records too: every Minecraft address in mc-router and every game port with an address, always pointing straight here.
- Other names (a leftover like
play.example.com, or a wildcard like*.mc.example.com) can be added under Other names and are kept pointed here the same way. Addresses under a wildcard Gluon keeps don't get records of their own. - Coming from cloudflare-ddns? While it runs, Gluon
leaves the names it updates alone, so the two never take turns rewriting a record. Take over adds
its names to Gluon and hands their records over; Gluon only says it can be stopped once it keeps
every one of them, and not while
DELETE_ON_STOPwould remove the records on the way out. Gluon takes over within a minute of it stopping. - Web addresses go through Cloudflare's proxy, which hides your home's address. Uploads through it stop at 100 MB and video streaming isn't allowed, so any address can be marked Direct to keep a plain record pointing straight at your network. Chat and voice always go direct, and so do names more than one level under the domain, which Cloudflare's free certificate doesn't cover. Your router still forwards ports 80 and 443 to this server, and Cloudflare's SSL mode should be Full (strict).
- Network → Domains opens each domain's full DNS records: add, edit and remove A, AAAA, CNAME, TXT, MX and NS records and switch the proxy per record. Other types open in Cloudflare, and records Gluon keeps for public addresses are locked there.
Gluon is built to sit on the internet behind Caddy: passwords are hashed with argon2id, sign-ins are throttled, admins need two-step sign-in when away from home, sessions are revocable, and every change is recorded. Set up two-step sign-in from home before publishing it.
Settings → Updates has two channels. Stable follows tagged releases. Nightly follows every
change pushed to main: Gluon checks every half hour and can install each nightly as it lands, or
once a day in an hour you pick. Updating downloads the new version, builds it on your server, swaps it
in, and puts the previous version back if the new one doesn't come up healthy. Switching from Nightly
back to Stable never downgrades on its own, and automatic updates never install a new major version
without you. Installs from Umbrel's app store can also update through Umbrel.
Three more switches there are off until you turn them on, and run in the same hour:
- Update apps automatically. Each app whose image comes from a tag that moves (
latest,edge) gets the newer image when the registry has one: one app at a time, only that service recreated, kept once its healthcheck passes (or it runs 30 seconds without restarting), and otherwise put back on the image it had. An image that fails twice waits for you. Each app's Settings tab can follow this switch, always update or never. Gluon, its Caddy, store apps, stopped apps and images pinned by digest are never updated this way. Going back restores the image, not data a newer version migrated. - Update the system automatically. Installs everything System → Updates lists, the same way the Install button does, skipping a night when apt is busy. Two failures in a row wait for you. Needs apt (Debian and Ubuntu).
- Restart when needed. Restarts the server when an update left
/run/reboot-required, never while any update is running, at most once a night, and not again if it comes back still asking for the same packages.
Each success and failure shows in Activity and Alerts, and in notifications if you choose them.
With automatic updates on, a Quark chat server Gluon set up updates in the same hour. Gluon keeps the
new version only if Quark answers on it, and otherwise goes back to the one it had, with its settings
and accounts as they were. The last two copies of its data, without shared files, are kept in
/data/backups/chat.
To update by hand instead, from the gluon folder:
git pull
docker compose -f docker/compose.yaml up -d --buildEverything Gluon knows (accounts, settings, history) is in the gluon-data volume. To save a copy
to the current folder:
docker run --rm -v gluon_gluon-data:/data -v "$PWD":/backup alpine tar czf /backup/gluon-data.tgz -C /data .Before each update Gluon also saves a copy of its database in /data/backups (the last two). If an
update went back to the previous version and something looks wrong, stop Gluon and copy the newest
one over /data/gluon.db and delete gluon.db-wal and gluon.db-shm next to it.
From the gluon folder, stop and remove the container, keeping its data:
docker compose -f docker/compose.yaml downAdd -v to delete the data too. Gluon doesn't change your apps' containers or files when it's
removed; whatever you set up through it (mounts, Caddy routes, DNS records) stays as it is.
- The page doesn't open. Check that the container is running with
docker ps, readdocker logs gluon, and make sure nothing else uses port 8130 (or changePORT). - It asks for a setup code you don't have. Run
docker exec gluon cat /data/setup-code. - Drives, services or the router are missing. Gluon needs the privileged settings in
docker/compose.yaml(privileged,pid: host,network_mode: host). Diagnostics → Checkup says what it couldn't read.
You'll need Node 24 or newer (the Docker image uses Node 26).
npm install
GLUON_DATA=./data GLUON_NO_NSENTER=1 npm run devOpen http://localhost:8130. On first start the dev server prints a setup code, also saved in
data/setup-code. GLUON_DATA keeps development data in ./data (ignored by git) instead of
/data, and GLUON_NO_NSENTER=1 runs host commands directly on the machine you're on.
In production Gluon reaches the host through the privileged container (nsenter) and expects Linux
with Docker, so a laptop only shows part of Gluon. GLUON_ROUTER_GATEWAY sets the router's address when Gluon can't
read it from the routing table (for example on a Mac). For the full experience, run the dev image
(docker/Dockerfile.dev) on a Linux machine or VM. The scripts in deploy/ ship a checkout to your
own server; copy deploy/.env.example to deploy/.env first.
npm run typecheck
npm test # unit tests (Vitest)
npm run test:e2e # end-to-end tests (Playwright), see test/e2e/README.md
npm run buildBuilt with Next.js, React and Base UI. Design rules live in DESIGN.md.
Bug reports, fixes and ideas are welcome. See CONTRIBUTING.md and the code of conduct, and report security problems privately as described in SECURITY.md.
Gluon is free software under the GNU General Public License v3.0 or later.














