Skip to content

Commit

Permalink
Add zerotier-cli info output to Docker logs
Browse files Browse the repository at this point in the history
When I first bring up the container, I want to know I'm approving the join request for the right node. I can get the node's ZT address by manually executing `zerotier-cli info` in the node (e.g. with `docker-compose exec zerotier zerotier-cli info`) but just having it in the logs to start with is very convenient.
  • Loading branch information
altano committed Apr 9, 2022
1 parent e73d7d9 commit 193b357
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh.release
Expand Up @@ -77,6 +77,8 @@ EOF

chmod +x /healthcheck.sh

echo "zerotier-cli info: $(zerotier-cli info)"

echo "Sleeping infinitely"
while true
do
Expand Down

0 comments on commit 193b357

Please sign in to comment.