I am wondering if it’s possible to define a host to only run the stack on?
You can do it in 2 steps:
- First adding a label on your hosts
- Adding in the docker compose the following label:
labels: io.rancher.scheduler.affinity: "mylabel"
2 Likes