How to define Portals/other TrueNAS-specific features for app created via yaml import?

I got quite stumped in creating a custom app via the UI (something very wrong with paths or permissions inside the container, app crashlooping) so I re-created it using a normal docker-compose file import, which worked fine.

However, this seems to remove the ability to use features like Portals to give my app a dns name.

How can I either:

  • add a Portal and DNS name to a yaml-defined compose app?
    or
  • dump the compose configuration created by the UI so I can debug? docker-inspect on the container is very hard to parse and overriding the entrypoint to drop into a shell doesn’t seem to work

For adding portal/icon:

ahhh thank you, somehow I didn’t find that post when searching originally