Update docs/running-headscale-container.md

Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
This commit is contained in:
Niek van der Maas 2022-03-25 23:44:55 +01:00 committed by GitHub
parent 73f1c06f65
commit 7dae780be1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,9 +49,12 @@ Here are some settings that you likely want:
```yaml
server_url: http://your-host-name:8080 # Change to your hostname or host IP
metrics_listen_addr: 0.0.0.0:9090 # Listen to 0.0.0.0 so it's accessible outside the container
private_key_path: /etc/headscale/private.key # The default /var/lib/headscale path is not writable in the container
db_path: /etc/headscale/db.sqlite # The default /var/lib/headscale path is not writable in the container
# Listen to 0.0.0.0 so it's accessible outside the container
metrics_listen_addr: 0.0.0.0:9090
# The default /var/lib/headscale path is not writable in the container
private_key_path: /etc/headscale/private.key
# The default /var/lib/headscale path is not writable in the container
db_path: /etc/headscale/db.sqlite
```
4. Start the headscale server while working in the host headscale directory: