Improved docker cmd
This commit is contained in:
parent
e9ffd366dd
commit
636943c715
1 changed files with 6 additions and 2 deletions
|
@ -15,8 +15,12 @@
|
||||||
2. (Optional, you can also use SQLite) Get yourself a PostgreSQL DB running
|
2. (Optional, you can also use SQLite) Get yourself a PostgreSQL DB running
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --name headscale -e POSTGRES_DB=headscale -e \
|
docker run --name headscale \
|
||||||
POSTGRES_USER=foo -e POSTGRES_PASSWORD=bar -p 5432:5432 -d postgres
|
-e POSTGRES_DB=headscale
|
||||||
|
-e POSTGRES_USER=foo \
|
||||||
|
-e POSTGRES_PASSWORD=bar \
|
||||||
|
-p 5432:5432 \
|
||||||
|
-d postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Create a WireGuard private key and headscale configuration
|
3. Create a WireGuard private key and headscale configuration
|
||||||
|
|
Loading…
Reference in a new issue