• 4 Posts
  • 33 Comments
Joined 11 months ago
cake
Cake day: August 22nd, 2023

help-circle

  • Ive got this working with Caddy and Adguard

    I use Caddy as my reverse proxy. It is running on the machine in the basement with all the different docker-container-services on different ports. My registrar is set up so that *.my-domain.com goes to my IP.

    Caddy is then configured for ‘service-a.my-domain.com’ to port 1234, and the others going to their ports. This is just completely standard reverse proxy.

    For some subdomains (i.e. different services) ive whitelisted only the local network. There is some config for that.

    Im pretty sure that I also have to have adguard do a dns rewrite on the local network as well. That is, adguard has a rewrite for ‘*.my-domain.com’ to go to 192.168.0.22 (the local machine with caddy). I think i had to do this to ensure that when the request gets to caddy it is coming from the local whitelisted network rather than my public IP (which changes every couple months, but could be more).




  • When i was doing a headless install, i spend a hour or two trying to figure out how to pre setup configs for the debian installer or how to do it over network or what before i finally lugged the new machine to the other room and plugged it into the monitor and keyboard of the main rig, installed it all (and set up ssh so i can later get into from the main rig), and unplugged it.

    My point is, even if it isnt trivial to have the keyboard and monitor, it may be much easier to get them than to really do an install without them.






  • Ive got some stuff that i think is similar to what you are trying where i have an excel file template and use python to read from the database and populate cells in excel and then save a pdf.

    There are a couple different options for python libraries - openpyxl, xlwings, or pywin32.

    It is annoying and goofy, but works. Excel can be very flexible with getting everything sized just right for what your final output/pdf should look like.







  • If youre up for it, you could stream off of your home desktop with Sunshine and use the laptop just as a light-weight client. Then the requirements for the laptop are a lot less and could potentially play even better games.

    I played dota on my old laptop at a friends house while it actually streamed from my home desktop and it worked fine. I dont remember if you need a domain or static IP or anything like that, which may be a barrier. Or if upload speeds just wont allow it