I have a collection of my docker composes and configs. I would like to have the ability to remotely (over Tailscale) deploy and manage remote servers.

This isn’t necessarily for redundancy, but I would like an automated way to test and deployments.

I want to make a seperate homelab at my parents that I can remotly manage for them. I have multiple servers at home, so having all of the config in a git repo, and having my secondary computer use the test branch would be super nice.

My ideal scenario:

So say I want jellyfin. I make a compose and config on the test branch. It automatically applies to my test server. Once I confirm it works, it goes to the master branch. Then it gets applied to the production servers.

Can this be done? If so, can Forgejo actions do it?

  • moonpiedumplings
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    I already replied to your last post, but my reply here is the same. You want kubernetes and gitops. There exists many ways to do staging/preprod/prod setups with gitops.

    • Matt The Horwood@lemmy.horwood.cloud
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Or a git repo and ansible/semaphore, thats how I manage my docker services. I have a git repo with all my configs and compose files (not in github, but my own server), then in semaphore I have a playbook to update a compose or swarm stack.

    • Dust0741@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 days ago

      Thank you for the replies. Do you have an sources to start my research on this more in depth?

      Edit: I see you mentioned some in the other post. Thank you