How override ports from catalog

Hi,
I am searching how to do it, but I do not find it.
I would like to know how (if possible) override custom properties from one container in catalog, for example , default port.
regards

Before starting up the template, you can copy and paste the docker-compose.yml and rancher-compose.yml into “Add Stack” and edit the ports in the file before launching.

Otherwise, you could do an upgrade of the service that has the exposed ports after it’s been launched.

Thanks,
but how can I set IP as “172.17.0.6” instead “10.42.77.14”.

I don’t think I understand what you are trying to do. Do you have an example catalog entry that you are talking about?

Hi,
I am trying to override jenkins from catalog , for example.
I copied yml files and copy them in stack, just changing ports.
This should be my docker-compose, only change external port.

jenkins-primary:
image: "jenkins:1.642.2"
ports:
- "8586:8080"
labels:
io.rancher.sidekicks: jenkins-plugins,jenkins-datavolume
io.rancher.container.hostname_override: container_name
volumes_from:
- jenkins-plugins
- jenkins-datavolume
entrypoint: /usr/share/jenkins/rancher/jenkins.sh
jenkins-plugins:
image: rancher/jenkins-plugins:v0.1.1
jenkins-datavolume:
image: "busybox"
volumes:
- /var/jenkins_home
labels:
io.rancher.container.start_once: true
entrypoint: [“chown”, “-R”, “1000:1000”, “/var/jenkins_home”]

EDIT:
I discovered, I can upgrade a new stack, overriding some properties.
thanks