Fix readme mention of Makefile

This commit is contained in:
Louis-Philippe Asselin 2022-09-01 15:00:39 -04:00 committed by GitHub
parent 7c146ab113
commit 01fc64c5ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,16 @@ See associated blog post: <https://asselin.engineer/tailscale-docker>
**Set the TAILSCALE_AUTH_KEY with your own ephemeral auth key**: <https://login.tailscale.com/admin/settings/keys> **Set the TAILSCALE_AUTH_KEY with your own ephemeral auth key**: <https://login.tailscale.com/admin/settings/keys>
The `Makefile` contains all commands to launch the various examples. Refer to it to understand which commands are used.
## docker-compose ## docker-compose
The examples detailed below are in the docker-compose folder.
By default, no state is saved. The nodes are removed from the network when the tailscale container is terminated. This means the ip address is never the same. By default, no state is saved. The nodes are removed from the network when the tailscale container is terminated. This means the ip address is never the same.
The `stateful-example` does save the tailscale node state to a docker volume. The `stateful-example` does save the tailscale node state to a docker volume.
Requirements:
- [docker-compose](https://docs.docker.com/compose/install/)
Usage: Usage:
````bash ````bash
export TAILSCALE_AUTH_KEY="your-key" export TAILSCALE_AUTH_KEY="your-key"