I’ve been running 2 linodes for a number of years now - one has my website (wordpress) on it and one has a Foundry VTT server running. Both are separate linodes, and I use Google Domains to point [site.tld] to the wordpress VPS and foundry.[site.tld] to the other linode.

For a few services I run at home within my own network (Sonarr, Lidarr, Plex, etc.) I’ve started to use Docker and Portainer, and I like how easy it is to set things up (and remove them if they don’t work). I’d like to redo my VPS similarly - I’d like to have a single linode, as a Docker host, and have the main domain point to a Wordpress container, a subdomain point to a Foundry container, and be able to easily add other containers for something like freshrss, etc. My goal is to be able to quickly spin up a docker via a compose file (portainer would be preferred), have it automatically reach out to letsencrypt to get a cert for the relevant subdomain, and have that subdomain point to that docker container.

I’ve been doing some searching around, and there seem to be a number of options, things like nginx reverse proxy, traefik, etc. and there are a lot of conflicting results.

Does anyone here have an opinion on this or some advice as to what the best option to look into might be?

  • Matthew@lemmy.piperservers.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    I have had an issue with updates to Nginx Proxy Manager breaking itself in the past so I switched to Traefik.

    NPM is much more user-friendly when it works. However, as mentioned, Traefik integrates directly with docker through labels, making it very convenient if not a bit more of a learning curve.

    So far, the only annoyance I have with Traefik is that I haven’t found a very easy way to host itself on a separate server from where the containers are running because it uses the docker.sock file to pick up the labels on running containers automatically. Instead, I manually create files for the files provider. I don’t think this is an issue if you are using Kubernetes, but I haven’t gotten all the way down that road quite yet, as it is a bit overkill for me.

  • knaak@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 years ago

    I use NPM which is also a docker image and has automatic let’s encrypt and a nice interface. Nginx Proxy Manager.

  • KitchenNo2246@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 years ago

    NPM is great! I even use it in a production environment at work for a small service and it works beautifully

      • smegger@kbin.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 years ago

        I’ve found npm to be fairly easy to setup. But I’m not far from your situation, trying out various options to see what works best for me

        • hispeedzintarwebz@kbin.socialOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 years ago

          That’s pretty much where I am. This isn’t my day job, it’s something I mess with for fun and so I’d like to make it easy not just to set up but to expand if necessary, and easy enough that if I don’t touch it for a year and come back to it I won’t be completely clueless!