Tutorial on creating custom apps from scratch?

Hi everyone, I’m looking for some good tutorials on how to use Docker to create custom apps in TrueNAS from scratch. Obviously there are tons of general Docker tutorials out there, but I think where I struggle is how to connect those tutorials to TrueNAS itself - e.g. interfacing with environment variables, mount paths, host network kind of stuff. I’m new to all of this, so those details intimidate me, but they are the most important part and also the part that seemingly no tutorial covers! I know Electric Eel is still new, so the world of (natively) integrated Docker with TrueNAS is still expanding, but it would be really helpful if such a tutorial existed. I also know that people were doing stuff with Docker on TrueNAS before with jailmaker and stuff like that, but now that Docker is native on TrueNAS, I’m looking for some more elegant solutions that avoid all the complexity that came before.

Any help would be appreciated, thank you!

2 Likes

There are no tutorials for setting up apps, but i found the custom yaml function to be way easier then the gui wizard. But then again i’m using portainer to deploy my apps and not the truenas gui.
Both the custom yaml function and portainer basically just need a docker-compose.yaml posted in an editor, adjusting the paths for storage and maybe some ports, hit deploy and that’s about it.
It took me like 3 weeks to re-create my 27 truecharts apps with docker-compose without any prior knowlege of docker.

1 Like

There’s some basic info here, just ignore anything with k3s, and the External-Interfaces section isn’t present anymore, but the info is pertinent

The reason people haven’t created a tutorial is because it’s highly specific to each app. I could post one I used for Mosquitto before it became an app on the app catalog, etc

1 Like