Allow specifying which host should run ZeroTier

This commit is contained in:
William Miceli
2018-03-14 11:57:31 -04:00
parent ce777aeb05
commit 51d60e7297
2 changed files with 14 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ services:
- -d
devices:
- "/dev/net/tun"
labels:
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE}
network_mode:
- "host"
restart: unless-stopped