this post was submitted on 01 Dec 2023
1 points (100.0% liked)

Selfhosted

40347 readers
328 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 followed trash guides to set everything up blindly and my set up is working well. But, I feel like having jellyfin in the same docker compose as my "arr" services isn't good. So, I'd be curious to see if I should split things up. I am even wondering if i should let portainer manage everything.

top 9 comments
sorted by: hot top controversial new old
[–] Decronym@lemmy.decronym.xyz 1 points 11 months ago* (last edited 11 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
Git Popular version control system, primarily for code
Plex Brand of media server package
VPN Virtual Private Network

3 acronyms in this thread; the most compressed thread commented on today has 13 acronyms.

[Thread #322 for this sub, first seen 1st Dec 2023, 17:35] [FAQ] [Full list] [Contact] [Source code]

[–] Kusimulkku@lemm.ee 1 points 11 months ago

Same. Never felt the need to do them separately.

[–] Auli@twit.social 0 points 1 year ago (1 children)

@AbsurdityAccelerator All one file. Makes reverse proxy easy and most don’t need any open ports. Probably somewhere around 40. Oh two in their separate files cause I compile them from source.

[–] scottmeme@sh.itjust.works 0 points 11 months ago (1 children)

I run multiple compose files with internal networks. No exposed ports.

[–] Auli@lemmy.ca 0 points 11 months ago* (last edited 11 months ago) (1 children)

So your name resolving them over multiple networks. Seems like a headache. By exposed ports I mean the host only has the reverse proxy with a port mapping. All other conteiners have no port mapping.

[–] scottmeme@sh.itjust.works 1 points 11 months ago* (last edited 11 months ago)

You can just refer to them by the name you give it in the services block, it's actually really simple. No port mappings at all.

https://nginxproxymanager.com/advanced-config/#best-practice-use-a-docker-network

[–] blicky_blank@lemmy.today 0 points 11 months ago (1 children)

Yes splitting them up is much better.

The only reason you should have secondary services there is if main service is using them exclusively.

Having a single compose file for multiple unrelated services sounds like a nightmare to stop, start and debug if one of your containers is acting weird.


Say for example you have something that needs a mysql server and you have no other use for it beyond that container, then it should go in there with the main seevice.

But then you eventually add another service which also needs a mysql backend. Do you add another mysql instance for that specific service? Or you could separate your existing one into its own compose file and just connect the two separate apps to the single instance.


Here's the way I have mine setup. https://github.com/DanTheMinotaur/HomeHost/tree/main/apps

I use an ansible job to deploy and run them.

[–] Kusimulkku@lemm.ee 1 points 11 months ago

Having a single compose file for multiple unrelated services sounds like a nightmare to stop, start and debug if one of your containers is acting weird.

You can do "docker compose (servive) start/stop/restart" and so on

[–] Nyfure@kbin.social 0 points 11 months ago

i had arr in one stack and media in another.
Now in my kubernetes cluster everything is separated, but arr + torrent is in vpn and automatically uses the vpn-sidecar. And media (jellyfin + jellyseer) is separate.