Unofficial Hacker News companion — get notified on comment replies, and more.

AI made self-hosting fun again (opens external site)

1174 points by jlelse 4 days ago | janlukas.blog | 556 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. > I couldn't care less about knowing the details of how to configure some specific web app with all its quirks.

    You might know this, but there could be security issues hidden in those details. One common example people miss is that Docker opens any ports you export on a container on the host as well. It's so common they've added a warning[1].

    > Publishing container ports is insecure by default. Meaning, when you publish a container's ports it becomes available not only to the Docker host, but to the outside world as well.

    This means that you might set it up behind a proxy with authentication and everything as you should but Docker was helpful and enabled bypassing the authentication by accessing the port directly (on the local network).

    So you should care.

    [1]: https://docs.docker.com/engine/network/port-publishing/

    Replies (1)
    1. I host my apps on a local server that is not open to the internet. The only way they can be accessed is over Cloudflare tunnel or on the local network. So I am a lot less worried about that.
      Replies (1)
      1. Who is on that local network and are you sure they're as capable as you are? Their apps and even websites on some browsers can scan the local network.

        Either way my point is, always read the docs and know the tools you use. Don't offload your security out of laziness.