I’m trying to get damselfly to work with TrueNAS Scale using docker compose. I’m not very familiar with it and sadly the error messages you get are very cryptic as they are all wrapped up in the python code trying to execute them. Can anyone see where I’m going wrong here?
Good morning,
Portainer is much more explicit for docker compose errors.
A suggestion, install Portainer from the Truenas catalog and use Docker Compose in Portainer (menu Stacks). This will give you the error in your .yml file.
In my Portainer it looks like cpus: 2
is not correct
@claude I doubt the issue is this variable. It’s lifted straight from the YAML file i used to deploy another custom container and as far as I can tell from the docker compose documentation it’s used correctly. I read the documentation as the maximum cpus value being equal to the number of threads you have so in my case 24.
I might try the portainer approach just for the improved feedback, but I really don’t want to use a container in a container setup for all my docker apps so I’m hoping better feedback when creating custom containers will come with a future TrueNAS update. As well as some reasonable documentation about the variables you should configure for any custom container setup regardless what the source image is
Honestly thought I had safeguarded myself against adding a tab in there as I ran the file through an online validator. But apparently it was not to concerned with tabs over spaces. I learned my lesson. From here on out i’ll be using something that displays tabs and spaces using symbols. Thank you for helping me out @claude.