Every branch,
live, on your NAS.
Want to share a website with your colleagues? A project wiki, a demo, a paper page? Push a branch, and it's online for your group: hosted on your own Synology, behind its login.
01What for
Sharing a small website inside a group is oddly hard. A public host means the whole internet sees your draft. A laptop server dies when the lid closes. Asking IT takes weeks.
Most labs and small teams already have a Synology NAS and accounts on it. This turns it into a private host for every website you keep in git:
- Project wiki
- Live demo
- Paper companion
- Thesis figures
- Onboarding guide
02How it works
- Push a branch
Any repo with a
Dockerfilewhose server listens on port 3000.$ git push origin my-idea - About two minutes later, it's live
The hub hears about the push, builds the branch on the NAS, and it appears in the hub's list, grouped by project. Every push updates it.
- Open it and share the link
Each site lives at
/your-repo/my-idea/, so any page of it has a link to send around, and several sites work side by side in tabs. A small "← All sites" badge leads back to the list. - Remove it when you're done
Delete the branch, or press Remove. The button only shows for people who can push to that branch. The branch itself is never touched.
03What you get
SITE_ENV_* CI variables reach the site as environment variables.04What you need
A Synology NAS with DSM 7.2+ and Container Manager, SSH access with sudo, and GitLab: self-hosted, or gitlab.com. Setup is one Docker Compose file and about 10 minutes: the README walks through it.
Limits worth knowing: no WebSockets through the hub, and anything a site writes to disk is gone on its next deploy.