Fix label for container placement on same node as volume

This commit is contained in:
teutat3s 2022-04-01 10:50:49 +02:00
parent 2807d00cec
commit 91b62def9c
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -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: