Incessant tinkerer since the 70’s. Staunch privacy advocate. SelfHoster. Musician of mediocre talent. https://soundcloud.com/hood-poet-608190196

  • 11 Posts
  • 186 Comments
Joined 2 months ago
cake
Cake day: March 24th, 2025

help-circle

  • irmadlad@lemmy.worldOPtoSelfhosted@lemmy.worldSecrets Management
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    Do you have a particular risk that you are worried about?

    A couple of the Docker compose files I’ve used have non-hashed secrets in the compose itself. I am assuming, should someone penetrate the firewall, and gain access to Portainer somehow, they could see these compose entries just like I can. While I feel like I have adequately hardened the server (Lynis reports a score of 87) and I have rather robust ids/ips, firewall, and assorted accoutrements to support a secure server, there’s always that ‘what if’ scenario running in my brain and it causes doubt. Perhaps a secrets manager is over kill for a single user, docker container server.





  • NOTE: The instructions aren’t exactly difficult! So, I don’t see how I’d have gotten it wrong!

    Dude, don’t feel pregnant. It took me an embarrassingly long time to wrap my noodle around Caddy. Seriously, I just couldn’t grasp what was going on in the Caddyfile. Then, after extensive trial and error, I happened upon one tutorial that changed everything. Now it’s so simple for me, but at the time, I felt like a complete dumbfuck.



  • irmadlad@lemmy.worldOPtoSelfhosted@lemmy.worldSecrets Management
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 hours ago

    That’s a K8s application I’ve never explored, and the ‘commit the encrypted secrets to git and deploy with ArgoCD’ is well above my pay grade at the moment. Not saying it’s not unattainable, however, I’m still trying to thoroughly understand Docker, which should take me quite a while. LOL



  • irmadlad@lemmy.worldOPtoSelfhosted@lemmy.worldSecrets Management
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 hours ago

    as they are often stored unencrypted by the service/app that needs it

    That’s what I’m worried about

    An encrypted disk might be better in that case.

    See, that is one of the ideas I’ve been toying with. I’ve never encrypted a remote VPS. I have encrypted all my local drives. There is some response loss on local drives it seems to me. Negligible, but still. I’m just wondering if there would be a performance hit.


  • Thinking about getting some or most of this over to a service like hetzner, perhaps even splurging on a baremetal dedicated system.

    If I may, I find LUXVPS to be quite capable and responsive hosts.

    Black Luxury Deal #1

       4 vCores (Xeon Gold 6150)
        26 GB DDR4 RAM
        150 GB Raid 1 NVMe
        1 Gbit internet speed | 40 TB Traffic
        1x IPv4
        1x /64 IPv6
        3.2Tbit Premium DDoS Protection
        24/7 Ticket Support
        4 Backups
        For ONLY 10€/Mo (recurring)
    

    I’ve never used Hetzner, and I don’t know what you are hosting, but I’m sold on LuxVPS. I also use Contabo, and Ethernet Services. The latter would indeed be bare-bare-metal as there are no frills. However, for a test server and for $35 a year, it works.



  • You can restrict Caddy access to use your tailscale. For instance in your Caddyfile:

    For tailscale ip range:

    myverycoolserver.duckdns.org {
        @allowed {
            remote_ip 100.64.0.0/10  # Allow Tailscale IP range
        }
        respond @allowed 200  # Allow access
        respond 403  # Deny access for others
        reverse_proxy localhost:YOUR_SERVICE_PORT  # Your service configuration
    }
    

    For specific tailscale IP:

    myverycoolserver.duckdns.org {
        @allowed {
            remote_ip YOUR_TAILSCALE_IP  # Replace with the specific Tailscale IP
        }
        respond @allowed 200  # Allow access
        respond 403  # Deny access for others
        reverse_proxy localhost:YOUR_SERVICE_PORT  # Your service configuration
    }
    


  • I am the note taking king probably. I worked in the construction industry for 20 years. The rule was, ‘if you didn’t write it down, it didn’t happen.’ That has just carried over to every other aspect of my life including selfhosting. Whenever I sit down to my terminal to do anything, I open Notepad++ and a regular windows notepad session. The windows notepad session is a little script I came up with that opens windows notepad with 1000 empty lines. It’s one of the many quirks I have, but I hate having to hit the enter key to start a new line. I like to be able to click on a new line for a new line of thought and start typing.

    @echo off
    (for /l %%i in (1,1,1000) do echo.) > empty_lines.txt
    start notepad empty_lines.txt
    

    (Save as a bat link on desktop)

    Anyways, the Notepad ++ session is for after things get worked out, I make an official entry into the Notepad++. The windows notepad session is just a scratch pad or ‘thinking paper’ from which I transfer to the Notepad ++ doc. Convoluted, no? LOL You asked, and I just pulled back the curtain for you a bit. Careful what you ask for, could stain your brain.

    I try to document everything. I feel like, if I’m going to take the time to learn something, I might as well write it down. I take my Grok sessions and distill them down if I found the info relevant. I also do all of this because after my TBI which gave me a seizure condition as well as other mental/neuro issues, my memory is shit, even for someone of my age bracket. But I can stand up a server and secure it, just from my notes in a step by step manner conducive to my limited mental acuity. I’ve often wondered if anyone would be interested in my notes, like maybe some newcomer to selfhosting wouldn’t have to reinvent the wheel since I have a penchant for fucking things up.



  • Question: What is redis and valkey giving you in this instance? I took a look at my notes and I’ve never invoked redis. Just curious. School me. This is what I spin up:

    spoiler
    services:
      searxng:
        image: searxng/searxng:latest
        container_name: searxng
        ports:
          - "8989:8080"
        volumes:
          - /path/to/searxng/data:/etc/searxng
        environment:
          - SEARXNG_BASE_URL=
          - SEARXNG_INSTANCE_NAME=
          - SEARXNG_CONTACT_INFO=
          - SEARXNG_LANGUAGE=en-US
          - SEARXNG_AUTOCOMPLETE=duckduckgo
          - SEARXNG_THEME=simple
          - SEARXNG_OUTGOING_METHOD=default
          - SEARXNG_ENABLE_METRICS=true
          - SEARXNG_ENABLE_CAPTCHA=false
          - SEARXNG_ENABLE_INFINITE_SCROLL=true
          - SEARXNG_ENABLE_PIWIK_ANALYTICS=false
          - SEARXNG_ENABLE_ADVANCED_SEARCH=true
          - SEARXNG_ENABLE_PRIVATE_RESULTS=true
          - SEARXNG_ENABLE_TORIFICATION=false
          - SEARXNG_ENABLE_HTTPS_EVERYWHERE=true
          - SEARXNG_ENABLE_PROXY=true
          - SEARXNG_ENABLE_PLUGINS=true
        restart: unless-stopped
    


  • Some homelabbers / selfhosters have very rigid concepts and opinions about what selfhosting and homelabing should be and what software should be used. I don’t have issues with NetData. It’s a great piece of software. Damn near covers anything I’d want to monitor, and then some. OP stated ‘network analyzer’ and while Netdata does have some analyzing components, it’s mainly a monitor/alert mechanism. So, I didn’t know how that would fit what they were looking for.



  • irmadlad@lemmy.worldOPtoSelfhosted@lemmy.worldLogwatch
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    It is my understanding that while you can use Dozzle to view other logs besides Docker logs, you have to deploy separate instances. While Dozzle is awesome, I’m not sure I want to spin up 5 or 6 separate Dozzle instances. I do use Dozzle a lot for Docker logs and it’s fantastic for that.












OSZAR »