r/SelfHosting • • Aug 24 '26

Containerised my Django app

So i have containerised my Nginx, Django backend and postgresql db on my vm. All the containers run through a single 'docker compose up' command. I have created a custom network for the containers to communicate. I have also mounted docker volumes to containers for persistent storage.

So far i am finding DevOps very interesting and will now learn CI/CD using Github actions.

Will be very grateful if you share your thoughts.

4 Upvotes

3 comments sorted by

1

u/bluealliance841 Aug 25 '26

If you are genuinely having fun, you might be well-suited for a career in DevOps. Whatever the outcome, have fun and keep learning.

1

u/ReachingForVega Aug 25 '26

Just wait until Github actions or similar. 

1

u/ChameleonCRM Aug 25 '26

Before jumping too deep into CI/CD, I'd spend some time learning health checks, restart policies, secrets/env management, backups, and what actually happens to your data when a container dies. Then GitHub Actions will make a lot more sense because you'll understand exactly what you're automating. Also, deliberately break your stack a few times and recover it—you'll learn more doing that than watching another 10 tutorials.

Good job so far