Skip to content

Commit 93a9284

Browse files
committed
Updated README with sqlite instructions
1 parent 0b8d4a2 commit 93a9284

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Suggestions/PRs welcomed!
4444
make
4545
```
4646

47-
2. Get yourself a PostgreSQL DB running (yes, [I know](https://tailscale.com/blog/an-unlikely-database-migration/))
47+
2. (Optional, you can also use SQLite) Get yourself a PostgreSQL DB running
4848

4949
```shell
5050
docker run --name headscale -e POSTGRES_DB=headscale -e \
@@ -55,7 +55,12 @@ Suggestions/PRs welcomed!
5555
```shell
5656
wg genkey > private.key
5757
wg pubkey < private.key > public.key # not needed
58-
cp config.json.example config.json
58+
59+
# Postgres
60+
cp config.json.postgres.example config.json
61+
# or
62+
# SQLite
63+
cp config.json.sqlite.example config.json
5964
```
6065

6166
4. Create a namespace (equivalent to a user in tailscale.com)
@@ -96,7 +101,7 @@ Alternatively, you can use Auth Keys to register your machines:
96101
Please bear in mind that all the commands from headscale support adding `-o json` or `-o json-line` to get a nicely JSON-formatted output.
97102

98103

99-
## Configuration reference
104+
## Configuration reference-v $(pwd):/project -v $(home)/.ivy2:/r
100105

101106
Headscale's configuration file is named `config.json` or `config.yaml`. Headscale will look for it in `/etc/headscale`, `~/.headscale` and finally the directory from where the Headscale binary is executed.
102107

0 commit comments

Comments
 (0)