Hi Community, I’m feeling lost!
So as the title says, I have a custom app made by myself:
- The backend is a .NET 8 app.
- The Frontend is a VueJS 2 app.
- The DB is a Mysql.
So:
- What is the best approach to making it work, using a docker-compose.yml or trying to create a Kubernetes deployment?
- Is another way to make it work?
- I can configure the images one by one with the TrueNAS UI, but I don’t think that will be the best option.
It depends, docker compose purists will argue all in one. I use Mariadb (similar to mysql) but I use it with not only many apps, but also with non Scale stuff. So, I have that as it’s own container since that way it’s one buffer pool, cache, etc. and easier to manage/backup.
Kubernetes is pre 24.10, what version are you on? If 24.10, definitely docker compose as there is no Kubernetes. If it’s your own image, then, you need an image repo. Or, you can embed the build instructions via compose and Dockerfile.
Hopefully, you have docker and compose experience?
Ok the docker compose sounds logical.
I’m using TrueNAS-SCALE-23.10.2, my experience using docker it’s not my best skill but I have a deep understanding how it works with things as the volumes, the networking, actually I deployed a simple react app with UI.
I use my TrueNAS most for file sharing and Plex.