Improved docker cmd

This commit is contained in:
Juan Font Alonso 2021-10-21 20:57:18 +02:00
parent e9ffd366dd
commit 636943c715

View file

@ -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