• 0 Posts
  • 5 Comments
Joined 2 years ago
cake
Cake day: July 8th, 2023

help-circle
  • So always assume some piece of knowledge is not obvious for someone out there and share

    You just described a thing of mine I cannot help but do; explain the ever loving crap out of things
    I need to be careful with that though as relatives start to complain and push back on me telling things over and over.
    Thing is, until I see a full comprehension on the other side on what I try to convey I just keep explaining in variations, keep finding metaphors and keep pestering you until you ‘get it’. Some say it is a virtue, some say it is a hindrance.

    I have had therapy on this… 😂


  • I use NPM in a docker container. It could not be easier in my opinion but then again, I did not use any of the alternatives so I might be missing out on something, who knows. I did manage a couple of proxy servers in the past based on Apache and I can tell you that NPM is much easier and logical to me than that.

    Just create a compose file and start it. Create DNS records pointing to your NPM IP address/exposed IP and make a host in NPM sending traffic to the right container IP:port. The compose file is super simple, could not be easier. Here’s mine for example:

    services:
      nginx-proxy-manager:
        container_name: nginx-proxy-manager
        image: 'jc21/nginx-proxy-manager:latest'
        restart: always
        ports:
          - '80:80'
          - '443:443'
        volumes:
          - ./data:/data
          - ./letsencrypt:/etc/letsencrypt
    
    

    I just make sure ports 443 and 80 are exposed on my router so DNS records can point to that IP adrdess. All traffic on port 80 gets re-routed to 443.

    I’m probably stating all the obvious things here 😀


  • I tried today, about 4 hours ago I guess? And this is about MySQL but perhaps the MariaDB issues are related? Anyway, I know it works for some (most?), just not for me and my attention span has only so much to spend on a graphing tool for db’s so I’m good. I was just curious, tried it out and failed. That’s all there is to it tbh. And as it was the very 1st step, I was immediately done as I have no clue what else will not work for me and I have only so much time and energy for project like this.