Fix label for container placement on same node as volume
This commit is contained in:
parent
2807d00cec
commit
91b62def9c
|
@ -12,7 +12,7 @@ services:
|
|||
- caddy_data:/data
|
||||
labels:
|
||||
- triton.cns.services=miom-website
|
||||
- "com.docker.swarm.affinities=[\"volumename==miomspace_caddy_data\"]"
|
||||
- "com.docker.swarm.affinities=[\"com.docker.compose.volume==caddy_data\"]"
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
|
|
Loading…
Reference in a new issue