Either self-hosted or cloud, I assume many of you keep a server around for personal things. And I’m curious about the cool stuff you’ve got running on your personal servers.

What services do you host? Any unique stuff? Do you interact with it through ssh, termux, web server?

  • tau@lemmings.world
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    Do you have any tips (or examples) using quadlets? I tried using them but I couldn’t wrap my head around them.

    • eric@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      3 months ago

      I used this guide https://www.redhat.com/sysadmin/quadlet-podman

      I have a folder on my in my home folder called containers symlinked to /etc/containers/systemd with my .container files. This is my jellyfin.container for using the Nvidia Quadro on my server.

      [Unit]
      Description=Podman - Jellyfin
      Wants=network-online.target
      After=network-online.target
      Requires=nvidia-ctk-generate.service
      After=nvidia-ctk-generate.service
      
      [Container]
      Image=lscr.io/linuxserver/jellyfin:latest
      AutoUpdate=registry
      ContainerName=jellyfin
      Environment=PUID=1000
      Environment=PGID=100
      Environment=TZ=America/St_Johns
      Environment=DOCKER_MODS=ghcr.io/gilbn/theme.park:jellyfin
      Environment=TP_THEME=dracula
      Volume=/home/eric/services/jellyfin:/config
      Volume=/home/eric/movies:/movies
      Volume=/home/eric/tv:/tv
      Volume=/home/eric/music:/music
      PublishPort=8096:8096
      PublishPort=8920:8920
      PublishPort=7359:7359/udp
      PublishPort=1900:1900/udp
      AddDevice=nvidia.com/gpu=all
      SecurityLabelDisable=true
      
      [Service]
      Restart=always
      TimeoutStartSec=900
      
      [Install]
      WantedBy=default.target
      

      I use sudo podman auto-update to update the images to utilize the AutoUpdate=registry option.