Posts for: #Docker

Docker Compose Update

Fuck my fucking life, I’m a goddamn fool. I’ve been doing too much when it comes to updating docker containers. It turns out there is a better way. What is this “better way”, you ask? Here goes.

# docker compose pull
# docker compose up -d

Boom. You don’t even have to stop the containers. You run those two commands and your shit will be updated and running with the new update real fuckin quick. It’s kinda awesome and I wish I weren’t such a moron so that I could’ve known that right away. Alas, I only learned this recently. Still though, better late than never.

[]

Pihole Docker Upgrade Pipeline

I’ve been running pihole for a minute now, and I think I’ve devised a process for upgrading that’s short, sweet, and to the point. It provides quick upgrades and might even be something possibly automated.

So here goes.

First thing you need is to make a folder somewhere on the system that your compose file and config files will live in. Throw it anywhere, it’s your system with your security practices, I don’t really give a damn. That’s my warning for “do at your own risk, you assume all liability”. Once you have your compose file, start your container with:

[]

AI Assisted Upscaling

So this is “in the works”, I haven’t succeeded yet. The ultimate goal is to be able to upscale a shitty 70kb jpeg to a megapixel jpeg using trained neural networks. Badass, rite? Well, the disclaimer here is that I’ve been chipping away at this project and haven’t yet got a functioning setup. So without further ado, here’s my fucking trainwreck.

I started off following the guide at alexjc/neural-enhance. My first attempt involved me thinking I was slick and I could just grab the docker container since it’s already installed, configured, and the neural networks trained with more than a few already very usable targets.

[]