• 0 Posts
  • 26 Comments
Joined 8 months ago
cake
Cake day: November 23rd, 2023

help-circle






  • Walmart is the only place where I’ve been stopped during the checkout process because the camera system thinks I’m stealing.

    I’m a nerd that tries to minmax my self checkout by putting items in the cart or handbasket in a manner conducive to efficient removal. I’ll position the cart on my left, scanner in front, bags on right, and go as fast as the scanner will register the barcode and display the item on screen.

    This works wonderfully everywhere else and I find it rather fun. I can count on Walmart to flag me at least once every trip (even though I slow down there for this reason), with the screen showing the flashing “POSSIBLE THEFT” message and video of me swiping an item quickly across the reader.

    Maybe I should start parking the cart in the middle of the pathway like every other Walmart shopper and taking twenty seconds to dig every item out of the bottom of the cart before meandering around looking for where I set down the handheld scanner.












  • 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
    7 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.