Linux & Self-Hosted Infrastructure
My Fedora workstation, Debian homelab, and hosted environment give me a place to build, preview, troubleshoot, and deploy my projects.
The problem
I wanted to keep working on a project when I switched computers or lost a connection. I also needed to open a preview from my phone and decide which services should stay private and which were ready to host.
Audience
My development, self-hosting, and web studio work.
My contribution
I set up the development and preview environments, configure remote access and deployment settings, and use Git to keep track of changes. When a site is unreachable, I work through the connection path, service status, and logs so I can narrow down where it stopped working.
Decisions
- Run my working sessions and private previews on the Debian homelab so I can change devices without moving the project or restarting the development server.
- Choose the hosting target for each service. I use Tailscale for tools I need to reach privately and Coolify on a Hetzner VPS for projects I want to host.
Workflow
Pick up work from another device
I use Fedora as my daily workstation and connect to Debian over SSH. tmux keeps the terminal session available when I disconnect. Git records the project changes, and I can open a private preview over Tailscale to check the actual screen from my phone.
Move a project from preview to hosting
I check the application in a development preview first. For projects I deploy with Coolify, I use GitHub as the source and my Hetzner VPS as the hosting target. I keep track of what revision I deployed, what I configured, and what needs to be checked on the hosted site.
Implementation
- I use Docker for containerized services and check the build and application logs when a container fails to start. For routing issues, I look at the service's listening port separately from the address the browser uses.
- I put reusable setup and troubleshooting procedures in my Field Manual so I can follow them again without relying on an old chat.
Outcome
I can develop remotely and check a preview on another device before I deploy. The same setup lets me keep tools such as Insight BJJ's preorder manager on the homelab and still use them when I need to review orders.