this post was submitted on 22 Jun 2023
12 points (100.0% liked)

Selfhosted

39948 readers
513 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
 

Hi folks,

My Nextcloud server has been complaining about being out of date for a while and I finally figured out I needed to update Debian, not extcloud. I managed that, but nextcloud choked on the update when I went to bring it up to date and I've been wanting to do it all over again and hopefully understand the process a little bitter the second time around.

I have a server on the public cloud (think AWS/Azure/Linode/Digital Ocean) with Docker running on it. Is it feasible for me to load up namecheap, lemmy, and pixelfed on the same server in separate docker containers? Anything I should be aware of before trying this?

I worked in the cloud (once again think MS/Amazon/Big Tech), but my role was only partially technical though I have been a GNU-Linux tinkerer since 2005 or so. That is to say, I have no idea what I'm doing, but I can generally read documentation okay.

I believe my previous install was directly to the server via the repos.

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago (1 children)

There should be no technical reason why not, with an Nginx reverse proxy in front to handle connecting to the docker containers.

[–] njordomir 4 points 1 year ago (2 children)

Pardon my ignorance here: that's essentially what maps the container's port# to the server's port#, right? Networking is not my strong suit. :D

[–] [email protected] 1 points 1 year ago

@njordomir

Yes, that's how you'd route the hosts incoming traffic (normally to port 443 and redirect 80 to SSL 443) to the ports set for the containers

[–] [email protected] 1 points 1 year ago

Docker has built-in port mapping for that (-p in docker run). Nginx does effectively let you do additional port mapping but it's most commonly used to let you map a subdomain to a port (virtual host) and/or perform SSL termination.

That way you can hit https://service.host.com instead of http://host.com:4829

[–] [email protected] 1 points 1 year ago

you could use yunohost to host all of those too