Allow to connect to Postgres via IPv6 (#1006)

This commit is contained in:
Adrian Kumpf
2020-11-05 12:20:09 +01:00
committed by GitHub
parent b58abe3085
commit e0b3d3d6b5
2 changed files with 5 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ TeslaMate accepts the following environment variables for runtime configuration:
| **DATABASE_POOL_SIZE** | Size of the database connection pool | 10 |
| **DATABASE_TIMEOUT** | The time in milliseconds to wait for database query calls to finish | 60000 |
| **DATABASE_SSL** | Set to `true` if SSL should be used | false |
| **DATABASE_IPV6** | Set to `true` if IPv6 should be used | false |
| **VIRTUAL_HOST** | Host part used for generating URLs throughout the app | localhost |
| **CHECK_ORIGIN** | Configures whether to check the origin header or not. May be `true` (**recommended**), `false` (_default_) or a comma-separated list of hosts that are allowed (e.g. `https://example.com,//another.com:8080`). Hosts also support wildcards. If `true`, it will check against the host value in `VIRTUAL_HOST`. | false |
| **PORT** | Port where the web interface is exposed | 4000 |