Update README.md
This commit is contained in:
parent
39df4cea32
commit
f62200cf42
|
@ -26,7 +26,7 @@ Then, edit the Docker Compose file:
|
||||||
nano ./headscale/docker-compose.yml
|
nano ./headscale/docker-compose.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Environment Variables and Defaults
|
<!-- ## Environment Variables and Defaults
|
||||||
|
|
||||||
| Variable | Description | Default Value |
|
| Variable | Description | Default Value |
|
||||||
|-------------------------|----------------------------------------|---------------------------------|
|
|-------------------------|----------------------------------------|---------------------------------|
|
||||||
|
@ -59,7 +59,7 @@ nano ./headscale/docker-compose.yml
|
||||||
| `DB_TYPE` | Database type (e.g., sqlite3, postgres) | `sqlite3` |
|
| `DB_TYPE` | Database type (e.g., sqlite3, postgres) | `sqlite3` |
|
||||||
| `DB_PATH` | Path to the database file (for sqlite3) | `/var/lib/headscale/db.sqlite` |
|
| `DB_PATH` | Path to the database file (for sqlite3) | `/var/lib/headscale/db.sqlite` |
|
||||||
|
|
||||||
To use these variables in your `config-example.yaml`, you would format them like this:
|
To use these variables in your `config-example.yaml`, you would format them like this: -->
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
server_url: ${SERVER_URL}
|
server_url: ${SERVER_URL}
|
||||||
|
@ -85,9 +85,6 @@ services:
|
||||||
- SERVER_URL=${SERVER_URL}
|
- SERVER_URL=${SERVER_URL}
|
||||||
- LISTEN_ADDR=${LISTEN_ADDR}
|
- LISTEN_ADDR=${LISTEN_ADDR}
|
||||||
- METRICS_LISTEN_ADDR=${METRICS_LISTEN_ADDR}
|
- METRICS_LISTEN_ADDR=${METRICS_LISTEN_ADDR}
|
||||||
- GRPC_LISTEN_ADDR=${GRPC_LISTEN_ADDR}
|
|
||||||
- DB_TYPE=${DB_TYPE}
|
|
||||||
- DB_PATH=${DB_PATH}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Notes:
|
### Notes:
|
||||||
|
|
Loading…
Reference in New Issue