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/)CA
Posts
1
Comments
29
Joined
4 mo. ago

  • Maybe a silly question, but is simply having the thing doing the sailing running on what might be a docker container that only has access to the internet via a VPN connection okay? my friend told me this is his set up

    like, logically speaking this seems to be basically fine, since the sailing ship’s data is not visible to the ISP

  • Cool.

    In other news, Swiss law makers claim opening and reading all mail sent to make sure it doesn’t include the phrase “monty bojangles” is “not a privacy concern”

    My point is that in order to block a specific domain, you necessarily need to check it against a list of all legitimate domains being accessed

  • Selfhosted @lemmy.world

    Thoughts on the recent Swiss law that might require ProtonVPN to start blocking certain domains?

  • Here’s my approach to documentation. It’s about habits as much as it’s about actually writing anything down:

    1. Never setup anything important via naked terminal commands that you will forget you did
    2. Always wrap important commands in some kind of “setup-xyz.sh” script and then run that script to see if your install worked.
    3. If you need to make a change to your service, ensure you update your script and so it can be re-run without braking anything

    Get into the habit of this and you are documenting as you go

  • i second this

    i haven’t gotten around to looking into something like terraform/ansible yet, and currently rely on a series of setup.sh scripts and docker-compose files

    i have a single master setup.sh at the root of my homelab which basically just outlines which scripts i need to run and in what order in order to get things back up and running from zero

    i only user my README.md for any non scriptable stuff (such as external services i rely on such as cloudflare/vpn providers, etc)

  • i mean charitably you could say that your code / architecture should be self documenting, versus having to rely on READMEs / wikis

    in effect, if you change the code you are by definition also changing the documentation, since the file names/function names/hierarchy is clear and unambiguous

  • while security might be compromised if an attacker found your documentation, it could equally be compromised by having zero documentation

    the easier it is for you to get things back up and running in the event of a data loss / corrupted hard drive / new machine / etc, the less likely you are to forget any crucial steps (eg setting up iptables or ufw)

  • this is basically what i ended up doing to - glad to see my approach verified somewhat ha ha!

    but yeah, in general whenever i make a change / add new service, i always try and add those steps to some sort of setup.sh / docker-compose

  • i have nginx proxy manager set up all as well, but haven’t worked out the SSL part yet, so all my internal docker services are still on http

    out of interest, how did you set up https with npm?