mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
create a db file first
This commit is contained in:
parent
fd94105483
commit
11e0402396
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ Suggestions/PRs welcomed!
|
|||
|
||||
the db.sqlite mount is only needed if you use sqlite
|
||||
```shell
|
||||
touch db.sqlite
|
||||
docker run -v $(pwd)/private.key:/private.key -v $(pwd)/config.json:/config.json -v $(pwd)/derp.yaml:/derp.yaml -v $(pwd)/db.sqlite:/db.sqlite -p 127.0.0.1:8000:8000 headscale/headscale:x.x.x headscale namespaces create myfirstnamespace
|
||||
```
|
||||
or if your server is already running in docker:
|
||||
|
|
Loading…
Reference in a new issue