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
|
- caddy_data:/data
|
||||||
labels:
|
labels:
|
||||||
- triton.cns.services=miom-website
|
- triton.cns.services=miom-website
|
||||||
- "com.docker.swarm.affinities=[\"volumename==miomspace_caddy_data\"]"
|
- "com.docker.swarm.affinities=[\"com.docker.compose.volume==caddy_data\"]"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
|
|
Loading…
Reference in a new issue