You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The release of phpipam 1.6 [introduced a new config.php setting](https://github.com/phpipam/phpipam/releases/tag/v1.6.0) called `$trust_x_forwarded_headers`.
This setting is false by default, and breaks integration between this docker image and reverse proxies, as the X_FORWARDED_FOR_* headers are no longer trusted.
| MYSQL_ENV_MYSQL_HOST | mysql | The host used to reach the MySQL instance |
111
+
| MYSQL_ENV_MYSQL_USER | root | The user to connect the MySQL instance |
112
+
| MYSQL_ENV_MYSQL_ROOT_PASSWORD | (empty) | The MySQL password. Can be set using the Web UI during the first install |
113
+
| MYSQL_ENV_MYSQL_DB | phpipam | The name of the MySQL DB to connect to |
114
+
| MYSQL_ENV_MYSQL_PASSWORD_FILE | (empty) | A file containing the password (if not using MYSQL_ROOT_PASSWORD) this allows to leverage docker secrets |
115
+
| PHPIPAM_BASE | / | The base URI under which phpipam runs. Useful when performing rewrites with a reverse-proxy |
116
+
| TRUST_X_FORWARDED_HEADERS | false | If operating behind a reverse proxy, set to `true` to accept the following headers: `X_FORWARDED_HOST`, `X_FORWARDED_PORT`, `X_FORWARDED_PROTO`, `X_FORWARDED_SSL`, and `X_FORWARDED_URI` |
117
+
| GMAPS_API_KEY | (empty) | Google Maps API Key, used to display maps of your devices |
118
+
| GMAPS_API_GEOCODE_KEY | (empty) | Google Maps Geocode API Key, used to find coordinates from an address/ a location of your device |
118
119
119
120
### Specific integration (HTTPS, multi-host containers, etc.)
0 commit comments