mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
Allow to connect to Postgres via IPv6 (#1006)
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user