Config separate container to different host

Hi ,

There is a way mabay that I can put a flag in the docker-compose for config container to build in different host ?

Best regards

I’m not completely sure what you’re trying to do, but you can always schedule your containers to be on different hosts.

The person who setup our Rancher treated his hosts like Pets. So we have 3 Rancher Hosts in House
like so:

We kept different configurations that we mounted to our containers on them, so some of our dev containers must be on gondolin and etc.

labels: 'true' 
    io.rancher.scheduler.affinity:host_label: name=gondolin

You can also specify this on the UI. Though I recommend docker-compose files for easy tracking.