posted in Selfhosted

how do you manage your server?

I usually connect with my server via ssh in a terminal and run basic commands. What’s a better, more efficient and modern way of doing that? Especially considering ai and documentation along the way? I wonder if there’s a better approach than “connect from remote and act local”. Is there a method to “code local and push to remote”?

I use a fedora server with podman, caddyfile and vi.

Replying to @⁨illusionist@lemmy.zip⁩

with dokplpy as a server docker managementweb gui.

for the code push workflow:

  • keep your normal git workflow, commit & push
  • set up a git hook in git & dokploy that rebuilds from source on every push
  • or do it on a schedule and build once a day or whatever

If you’re project has an unusual way to build, you could also do a git action that pushes a docker image out somewhere, depending on yoyr git provider.

If you need a step bt step breakdown, I can give you a guide based on my personal website, but that might not apply to your project.

Edited ⁨⁨Sep⁩ ⁨26⁩, ⁨2026⁩, ⁨09:21⁩⁩en