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
|`UPDATE_STRATEGY`|`PARALLEL`, `SEQUENTIAL`, `DISABLED`|`SEQUENTIAL`| Controls how index updates are handled. `PARALLEL` downloads the new index in the background then swaps with minimal downtime (requires 2x space). `SEQUENTIAL` stops Photon, deletes the existing index, downloads the new one, then restarts. `DISABLED` prevents automatic updates. Most users do not need frequent updates; consider setting this to `DISABLED`. |
64
-
|`UPDATE_INTERVAL`| Time string (e.g., "720h", "30d") |`30d`| How often to check for updates. To reduce server load, it is recommended to set this to a long interval (e.g., `720h` for 30 days) or disable updates altogether if you do not need the latest data. |
65
-
|`REGION`| Region name, country code, or `planet`| - | Optional region for a specific dataset. Can be a continent (`europe`, `asia`), individual country/region (`germany`, `usa`, `japan`), country code (`de`, `us`, `jp`), or `planet` for worldwide data. See [Available Regions](#available-regions) section for details. |
|`FORCE_UPDATE`|`TRUE`, `FALSE`|`FALSE`| Forces an index update on container startup, regardless of `UPDATE_STRATEGY`. |
68
-
|`BASE_URL`| Valid URL |`https://r2.koalasec.org/public`| Custom base URL for index data downloads. Should point to the parent directory of index files. The default has been changed to a community mirror to reduce load on the GraphHopper servers. |
69
-
|`SKIP_MD5_CHECK`|`TRUE`, `FALSE`|`FALSE`| Optionally skip MD5 verification of downloaded index files. |
70
-
|`FILE_URL`| URL to a .tar.bz2 file | - | Set a custom URL for the index file to be downloaded (e.g., "https://download1.graphhopper.com/public/experimental/photon-db-latest.tar.bz2"). This must be a tar.bz2 format. Make sure to set the `UPDATE_STRATEGY` to `DISABLED` when using this option. |
71
-
|`PHOTON_PARAMS`| Photon executable parameters | - | See `https://github.com/komoot/photon#running-photon.`|
72
-
|`APPRISE_URLS`| Comma-separated Apprise URLs | - | Optional notification URLs for [Apprise](https://github.com/caronc/apprise) to send status updates (e.g., download completion, errors). Supports multiple services like Pushover, Slack, email, etc. Example: `pover://user@token,mailto://user:[email protected]`|
73
-
|`PUID`| User ID | 9011 | The User ID for the photon process. Set this to your host user's ID (`id -u`) to prevent permission errors when using bind mounts. |
74
-
|`PGID`| Group ID | 9011 | The Group ID for the photon process. Set this to your host group's ID (`id -g`) to prevent permission errors when using bind mounts. |
|`UPDATE_STRATEGY`|`PARALLEL`, `SEQUENTIAL`, `DISABLED`|`SEQUENTIAL`| Controls how index updates are handled. `PARALLEL` downloads the new index in the background then swaps with minimal downtime (requires 2x space). `SEQUENTIAL` stops Photon, deletes the existing index, downloads the new one, then restarts. `DISABLED` prevents automatic updates. |
64
+
|`UPDATE_INTERVAL`| Time string (e.g., "720h", "30d") |`30d`| How often to check for updates. To reduce server load, it is recommended to set this to a long interval (e.g., `720h` for 30 days) or disable updates altogether if you do not need the latest data. |
65
+
|`REGION`| Region name, country code, or `planet`| - | Optional region for a specific dataset. Can be a continent (`europe`, `asia`), individual country/region (`germany`, `usa`, `japan`), country code (`de`, `us`, `jp`), or `planet` for worldwide data. See [Available Regions](#available-regions) section for details. |
|`FORCE_UPDATE`|`TRUE`, `FALSE`|`FALSE`| Forces an index update on container startup, regardless of `UPDATE_STRATEGY`. |
68
+
|`BASE_URL`| Valid URL |`https://r2.koalasec.org/public`| Custom base URL for index data downloads. Should point to the parent directory of index files. The default has been changed to a community mirror to reduce load on the GraphHopper servers. |
69
+
|`SKIP_MD5_CHECK`|`TRUE`, `FALSE`|`FALSE`| Optionally skip MD5 verification of downloaded index files. |
70
+
|`FILE_URL`| URL to a .tar.bz2 file | - | Set a custom URL for the index file to be downloaded (e.g., "https://download1.graphhopper.com/public/experimental/photon-db-latest.tar.bz2"). This must be a tar.bz2 format. Make sure to set the `UPDATE_STRATEGY` to `DISABLED` when using this option. |
71
+
|`PHOTON_PARAMS`| Photon executable parameters | - | See `https://github.com/komoot/photon#running-photon.`|
72
+
|`APPRISE_URLS`| Comma-separated Apprise URLs | - | Optional notification URLs for [Apprise](https://github.com/caronc/apprise) to send status updates (e.g., download completion, errors). Supports multiple services like Pushover, Slack, email, etc. Example: `pover://user@token,mailto://user:[email protected]`|
73
+
|`PUID`| User ID | 9011 | The User ID for the photon process. Set this to your host user's ID (`id -u`) to prevent permission errors when using bind mounts. |
74
+
|`PGID`| Group ID | 9011 | The Group ID for the photon process. Set this to your host group's ID (`id -g`) to prevent permission errors when using bind mounts. |
75
75
76
76
## Available Regions
77
77
78
-
The new regional system supports three types of downloads:
79
-
80
78
### 1. Planet-wide Data
81
79
80
+
(This is the default if no region is specified)
81
+
82
82
-**Region**: `planet`
83
83
-**Size**: ~116GB
84
84
-**Coverage**: Worldwide
@@ -135,14 +135,8 @@ Only **16 regions** have individual database downloads available:
135
135
136
136
# Individual country by code
137
137
- REGION=de
138
-
139
-
# Planet-wide data
140
-
- REGION=planet
141
-
# No REGION specified = planet-wide data
142
138
```
143
139
144
-
**Note**: For regions not available individually (like Zimbabwe), you must use the appropriate continental download (e.g., `africa` for Zimbabwe).
145
-
146
140
## Community Mirrors
147
141
148
142
To ensure the sustainability of the Photon project and reduce the load on the official GraphHopper download servers,
0 commit comments