Thx!
But, the shopify app-template node repository uses depracated definitions to accomplish this, i.e. it doesn’t use roles, instead it uses type.
There is supposedly a way to do this using the roles and a port value that is defined in the documentation (https://shopify.dev/docs/apps/tools/cli/structure) but I can’t get it to work.