Hero Image

Doing Docker Data Duties

Dutifully Doing some Docker Duties

So I have decided that the machine currently running my home dockers (Forgejo, Grav (Talk Tech Blog) & Jellyfin) was no longer as powerful as I needed. Truthfully the only think I needed to really move was Jellyfin. But I do not want to have so many machines turned on at once, so I may as well migrate everything.

My new machine of choice - the Base specification Apple Mac Mini M4 as I got a very good deal on one.

What's needed?

This is the first time I have done a full docker migration, so spend a good few hours reading up and understanding the task at hand. Since I used Docker Compose for all my containers - I thankfully found I could just move the compose file to the new machine and then SCP across the Data files. I started out with this blog as it's got a lot of data and a lot of configuration.

Thankfully it only took about 10 mins to SCP across all the files and the docker compose file.

Installing Docker

On the Apple Mac - docker is just a simple download and install. I had it running ok within a few minutes. As I normally use Docker on headless Linux machines - this was my first experience of the Docker Desktop tool and using it is not too difficult, but I think I will stick to Portainer as that suits my needs.

Installing Grav

This was painless. I simply ran Docker compose up -d then SCP'd accross the data files. I did need to tweak some config - but if you are reading this - it worked! So I just needed to update my nginx proxy to point to the new machine and I was done!

Jellyfin

As Jellyfin has a native Apple App, I simply installed this and then rebuilt my library from scratch. I did not bother with any migration as my library is not massive and the Apple chewed through the work in a few hours.

Forgejo

As this is a simple install and I have not made much use of it yet, like with Jellyfin - I decided to just start from scratch. All my repositories are still on Github so I can just import them again without much issue.

In Conclusion

After today, I will turn off my trusty Ubuntu Server Powered laptop and retire it to other limited duties. Half the USB ports no longer work, and the integrated network port is broken, so it has little use.