Public Entry point in rancher-compose.yml - How?

EDIT
I was just not looking thoroughly enough, of course in good old docker-compose.yml

    ports: 
      - "80:80/tcp"
      - "443:443/tcp"  # This was missing in my catalogue

What is the correct syntax in a rancher-compose.yml file for specifying a publicEndpoints artefact?

Useful for example to define a rancher catalogue which deploys an out of the box ssl terminated lb.

On Rancher 1.6.3, even though https configured:

      port_rules: 
      - path: /longpolling
        priority: 1
        protocol: https
        service: manly
        source_port: 443
        target_port: 8072
      - priority: 2
        protocol: https
        service: manly
        source_port: 443
        target_port: 8069

no public endpoint is created.

Retrieving the config from the ui, does not give any hint as to public endpoint configuration.

Public endpoints is an output, the result of IP/port allocation requested/assigned. You don’t set them directly.