Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HE
Posts
3
Comments
90
Joined
2 yr. ago
  • how are you trying to run podman?

    If you just want a similar setup as with docker I'll recommend this:

    https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md


    Lingering (running services without login / after logout)

    https://github.com/containers/podman/issues/12001

    https://unix.stackexchange.com/questions/462845/how-to-apply-lingering-immedeately#462867

     undefined
        
    sudo loginctl enable-linger <user>
    
      

    https://github.com/containers/podman/blob/main/vendor/github.com/containers/storage/storage.conf

    Check out the storage.conf to use the fuse-overlay driver.


    I like podman-compose and i have a start up script that restarts all my containers at reboot, as my user.


    Also use the full link to your images, like docker.io/image oder where ever you get your images from.


    have fun :)

  • Yes all users that have containers running, that should keep running need lingering.

    The Services do not restart themself. I have cronjob that executes podman start --all at reboot for my "podman user".

  • I'm running podman and podman-compose with no problem. And I'm happy. At first I was confused by the uid and gid mapping the containers have, but you'll get used to it.

    This are some notes I took, please don't take all of it for the right choice.

    Podman-Stuff

    https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md

    storage.conf

    To use the fuse-overlay driver, the storage must be configured:

    .config/containers/storage.conf

     undefined
        
    [storage]
      driver = "overlay"
      runroot = "/run/user/1000"
      graphroot = "/home/<user>/.local/share/containers/storage"
      [storage.options]
        mount_program = "/usr/bin/fuse-overlayfs"
    
      

    Lingering (running services without login / after logout)

    https://github.com/containers/podman/issues/12001

    https://unix.stackexchange.com/questions/462845/how-to-apply-lingering-immedeately#462867

     undefined
        
    sudo loginctl enable-linger <user>
    
      
  • You don't want the nextcloud to be public for everyone, then I'd go the tailscale route without a vps. Just connect your Server and phone.

    If you want it to be public, then I'd still use tailscale and do it like the other comment suggested.

    Reverse Proxy on vps connected to tailscale, proxzies the traffic through the tailnet to your server. That's what I'm doing btw.

  • You need a wildcard cert for ypur subdoman:

     undefined
        
    *.legal.example.com
    
    
      

    Then point that record to 127.0.0.0. This will not resolve for anyone. But you'll have an internal dns enty (useig pihole/adguard/unbound) that redirects to your reverse proxy.

    You could also point to your revers proxy internal address instead of 127.0.0.0.

    This video could help you: https://www.youtube.com/watch?v=qlcVx-k-02E

  • cats @lemmy.world
    herrfrutti @lemmy.world

    Cosmo ignoring me with style

    cats @lemmy.world
    herrfrutti @lemmy.world

    Cosmo joins bleptember

    Our lovely Cosmo 🤗

    cats @lemmy.world
    herrfrutti @lemmy.world

    Meet Cosmo ✨

    One of my cats