this post was submitted on 23 Jun 2023
19 points (100.0% liked)

Selfhosted

40374 readers
448 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] deepdive 1 points 1 year ago

Nothing to add here, but I was going to ask somehow the same question? I tried Nginx (not NPM) and my gosh this is hardcore stuff... Tried to make it work on my system (old spare laptop with a few docker containers) but It drove me crazy... !

Also tried Traefik and even if it didn't worked out as expect I had a better feeling on how It's build up and works. And I'm probably going to give It a second try by reading through the docs !

I have no idea about caddy, but It seems easier to setup? The docs looks really well written and easy to read through. If I fail to make it work with Traefic I will probably give it a try !

Also, the docs of Nginx are... As a non native I have the feeling I need a PhD to understand all the quirks and work-arounds, important stuff ? It's VERY WELL documented, but really out of my comprehension league !

Thanks for your question :)