chore(zerotier): cleanup config

This commit is contained in:
Nicolas Meienberger 2022-09-24 15:59:49 +02:00
parent 888c01f361
commit 2e412a1346

View File

@ -4,11 +4,11 @@ services:
container_name: zerotier
image: zerotier/zerotier:1.10.1
restart: on-failure
command: "zerotier-cli join ${NETWORK_ID}"
command: "${NETWORK_ID}"
cap_add:
- NET_ADMIN
- SYS_ADMIN
volumes:
devices:
- /dev/net/tun
healthcheck:
test: ['CMD','true']
@ -16,4 +16,4 @@ services:
# TO DO: Pass host data to retain zerotier id, or setup a volume. Prefer ~stateless.
# networks:
# - tipi_main_network
# mac_address: ${MAC_ADDRESS}
# mac_address: ${MAC_ADDRESS}