diff --git a/apps/zerotier/docker-compose.yml b/apps/zerotier/docker-compose.yml index c9563278..bfa1b4c1 100644 --- a/apps/zerotier/docker-compose.yml +++ b/apps/zerotier/docker-compose.yml @@ -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} \ No newline at end of file