What's new
Carbonite

South Africa's Top Online Tech Classifieds!
Register a free account today to become a member! (No Under 18's)
Home of C.U.D.

DIY Dev & DevOps

SpaceWalker

Legendary Member
Rating - 100%
16   0   0
Joined
Jan 27, 2020
Messages
1,294
Reaction score
1,189
Points
5,385
So for the last week and a half I've been on a little DevOps spree at work.
I'm a SysAdmin by day, but I'm skilled in Cloud, Web Design and general Tech fuckery.

I started down this road to see if I'm able to selfhost some internal web apps I'm planning to make and decided on Docker.

Our environment is mostly Windows, but I know enough about Linux to get to the other side of the road.

I started from scratch. Docker Desktop on Windows, implementing the correct virtualisation methods with WSL. Taught myself how many Docker processes work such as docker-compose files. How to integrate and change compose files to add multiple different containers that function together under one core container. It took a hell of a lot of Googling, frustration and figuring out.

I've got a WordPress, Nginx, MariaDB, Redis and PHPMyadmin container running and working flawlessly. Just the networking alone was a major headache to resolve. I have so many notes and snippets all over.

So I'm a chuffed little guy today and chuffed with myself because I didn't give up and tried until I succeeded. I spun up another container with a different web app and that's working nicely too.

I won't go into specifics as to where and how I'm running these systems, due to policy, but I'll continue down this path until I can do it like the rest of my daily tasks.

Tomorrow I'll be implementing autostart of containers and then the real work starts when working on the software I've deployed.
 
So for the last week and a half I've been on a little DevOps spree at work.
I'm a SysAdmin by day, but I'm skilled in Cloud, Web Design and general Tech fuckery.

I started down this road to see if I'm able to selfhost some internal web apps I'm planning to make and decided on Docker.

Our environment is mostly Windows, but I know enough about Linux to get to the other side of the road.

I started from scratch. Docker Desktop on Windows, implementing the correct virtualisation methods with WSL. Taught myself how many Docker processes work such as docker-compose files. How to integrate and change compose files to add multiple different containers that function together under one core container. It took a hell of a lot of Googling, frustration and figuring out.

I've got a WordPress, Nginx, MariaDB, Redis and PHPMyadmin container running and working flawlessly. Just the networking alone was a major headache to resolve. I have so many notes and snippets all over.

So I'm a chuffed little guy today and chuffed with myself because I didn't give up and tried until I succeeded. I spun up another container with a different web app and that's working nicely too.

I won't go into specifics as to where and how I'm running these systems, due to policy, but I'll continue down this path until I can do it like the rest of my daily tasks.

Tomorrow I'll be implementing autostart of containers and then the real work starts when working on the software I've deployed.

Try kubernetes with your docker environment, then you will want to kill yourself.

After you are ded. Add CI/CD - auto build and redeploy from a locally hosted gitlab repo.

Pray that everything works.

Turn over in your grave a few times.
Weep a few times while ded.

Then when you get it working. Slap yourself in the face just to be sure.

*As reality sets in that, that was a home environment that took forever to work. Now you need to setup an enterprise environment with hundreds of containers and almost 100 repos to pull from.*

#oddlyspecific
 
Try kubernetes with your docker environment, then you will want to kill yourself.

After you are ded. Add CI/CD - auto build and redeploy from a locally hosted gitlab repo.

Pray that everything works.

Turn over in your grave a few times.
Weep a few times while ded.

Then when you get it working. Slap yourself in the face just to be sure.

*As reality sets in that, that was a home environment that took forever to work. Now you need to setup an enterprise environment with hundreds of containers and almost 100 repos to pull from.*

#oddlyspecific
Sounds awful. I know how much I struggle now with basic config and setup of new Containers, so I don't even want to know how it would suck with a 100 of those. I had an issue with a Docker Swarm this week and it took me the entire day to narrow down the problem. You would think Google would have some info, but it really doesn't. There's so much instinct and initiative involved here to get things working. We know it's good to challenge ourselves in life, so that's the plus with all this struggling at times.
 
Yeah it's painful but when it works, man, it is a thing of beauty.

Had an Prod environment featuring 20 VM's and about 60 odd Docker apps. Twas gorgeous!
 
I did a writeup on how to deploy Caprover with Docker Desktop.

Caprover — Windows Docker Desktop Setup.

You have to take initiative as I said, but that's the building blocks.

I'll do another writeup on how I managed to serve the Caprover Apps on a Local Network with a 150 year Local SSL Certificate.
 
Sounds awful. I know how much I struggle now with basic config and setup of new Containers, so I don't even want to know how it would suck with a 100 of those. I had an issue with a Docker Swarm this week and it took me the entire day to narrow down the problem. You would think Google would have some info, but it really doesn't. There's so much instinct and initiative involved here to get things working. We know it's good to challenge ourselves in life, so that's the plus with all this struggling at times.

Like it’s stupid how complex it can get but I guess that’s why google and other big companies hire hundreds of engineers just to deal with this crap we have to deal with by ourselves 🤦🏻‍♂️only wish we could be paid what those engineers are being paid.
 
I did a writeup on how to deploy Caprover with Docker Desktop.

Caprover — Windows Docker Desktop Setup.

You have to take initiative as I said, but that's the building blocks.

I'll do another writeup on how I managed to serve the Caprover Apps on a Local Network with a 150 year Local SSL Certificate.

I’ll definitely have a read and tag me when you do the write up. Always need more info that might help me make things a bit easier.
 

Users who are viewing this thread

Back
Top Bottom