readme: add container use example
This commit is contained in:
parent
02151e49b8
commit
690834390a
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
|
@ -52,6 +52,18 @@ See [the prometheus docs][0] for more information on the HTTP service discovery
|
|||
* Container image: `registry.gitlab.com/guardianproject-ops/tailscalesd:VERSION`
|
||||
* See versions at: https://gitlab.com/guardianproject-ops/tailscalesd/container_registry/5749401
|
||||
|
||||
``` shell
|
||||
docker run \
|
||||
--name=tailscalesd \
|
||||
--rm \
|
||||
--cap-drop=all \
|
||||
--user 1000:1000 \
|
||||
--publish 127.0.0.1:9242:9242 \
|
||||
--env TAILSCALESD_ENV_FILE=/tailscalesd.env \
|
||||
--mount type=bind,dst=/tailscalesd.env,ro=true,src=/path/to/tailscalesd.env \
|
||||
registry.gitlab.com/guardianproject-ops/tailscalesd:latest
|
||||
```
|
||||
|
||||
### Configuration
|
||||
|
||||
Configuration values can be set using environment variables, or optionally loaded from an environment file. The settings include:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue