Goal

  • Continue learning Ansible.
  • Now that docker is installed. figure out how to copy over, all the docker-compose files for each service I like and then have them start up with systemctl

2025-01-25 08:15

  • Writing a note to self, the previous day, suggesting what to do or how to pick up the threads has worked today. Seems to me, I can’t even keep that straight in my head any more. Grr! Middle age!
  • 08:48: Realised that since most of my compose files are kept on my external devices, I don’t need to do much? Just a matter of copying over a systemd service file, enable it and Bob’s my uncle? Is is that easy? Coffee break. Will come back and give this a spin …
  • 09:19: Back.
  • Getting used to using git in parallel with my file commits. Helps me keep track of my progress, just like these thoughts here
  • 10:14: Well, whaddya know? Emby’s working! Hurrah!
  • Now to replicate this for another teeny service (this time as a user level systemd service)
  • Learnt how to switch users, in order to do this!
  • 10:52: Yay! Working! Also my first set of changes, that did not cause ansible-lint to nag me 😂
  • 11:11: And suddenly, this makes getting the code server up and running seem, pretty reasonable now. I can just get everything setup first and then put all that into ansible

2025-01-25 11:52

  • Let’s see how to get forgejo up and running now.
  • Will do it manually and get up a container based setup running.
  • Cannot just migrate, since the old one was native and using a different domain
  • 11:58: oh bikeshedding moment! i need certs for the new domain to be in place first. which means i need lego installed and configured first
  • 12:23: restarted. had a break at 12
  • 12:53: Lunch
  • 13:27: Back
  • 14:21: Making progress getting Nginx working. Site now runs over http
  • 14:43: Got my personal domain api access all set up. got lego to manually generate certs. brain’s on fire. break time
  • 14:56: back at it. reviewing old decisions on nginx. most sound sound. creating a new ssl_dhparams file
  • 15:26: need to give some thought on how i run through the nginx tasks in ansible. copy all files first, and then install nginx, so that everything is available? no. some paths might be unavailable. easier to install, dump files, and then restart the service
  • 16:12: Break
  • 16:25: Got lego installed just the way I wanted it, got it talking to Porkbun and figured out the command to automatically renew my certs.
  • Shutting shop for the day. Enormous progress today! But I need to remember that while the logjam might have broken today, it’s taken all these days of chipping away at it.


Feedback on this post?
Mail me at feedback at this domain.

P.S. Subscribe to my mailing list!
Forward these posts and letters to your friends and get them to subscribe!
P.P.S. Feed my insatiable reading habit.