• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: November 23rd, 2023

help-circle






  • Most people set up a reverse proxy, yes, but it’s not strictly necessary. You could certainly change the port mapping to 8080:443 and expose the application port directly that way, but then you’d obviously have to jump through some extra hoops for certificates, etc.

    Caddy is a great solution (and there’s even a container image for it 😉)


  • The great thing about containers is that you don’t have to understand the full scope of how they work in order to use them.

    You can start with learning how to use docker-compose to get a set of applications running, and once you understand that (which is relatively easy) then go a layer deeper and learn how to customize a container, then how to build your own container from the ground up and/or containerize an application that doesn’t ship its own images.

    But you don’t need to understand that stuff to make full use of them, just like you don’t need to understand how your distribution builds an rpm or deb package. You can stop whenever your curiosity runs out.


  • felbane@lemmy.worldtoSelfhosted@lemmy.worldShould I move to Docker?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    11 months ago

    You don’t actually have to care about defining IP, cpu/ram reservations, etc. Your docker-compose file just defines the applications you want and a port mapping or two, and that’s it.

    Example:

    ---
    version: "2.1"
    services:
      adguardhome-sync:
        image: lscr.io/linuxserver/adguardhome-sync:latest
        container_name: adguardhome-sync
        environment:
          - CONFIGFILE=/config/adguardhome-sync.yaml
        volumes:
          - /path/to/my/configs/adguardhome-sync:/config
        ports:
          - 8080:8080
        restart:
          - unless-stopped
    

    That’s it, you run docker-compose up and the container starts, reads your config from your config folder, and exposes port 8080 to the rest of your network.









  • I just had a db corruption a couple weeks ago, immediately after a server update. Easy enough to fix, but super annoying when you want things to “just work”.

    Like the OP, I’m getting tired and wary of Plex. The fact that they have a native app on most major TV brands is nice I guess, but I’m at the point where I’m seriously considering buying a handful of RPi compute modules now that they’re available again and just changing all my TVs back into “dumb display” mode and running all media via the rpi.

    I tend to get trigger anxiety on these things though, so I’d love to hear how other people are handling their self hosted media/streamcutting setups.