| ... |
... |
@@ -203,44 +203,16 @@ |
| 203 |
203 |
* L'en-tête ##X-Forwarded-Proto: https## du healthcheck est indispensable avec ##APPLICATION_PROTOCOL: https##, sinon sidekiq ne démarre jamais (voir [[Dépannage>>Wiki Batcave John.Infrastructure.ServeurPrincipal.Depannage.WebHome]]). |
| 204 |
204 |
* ##PHOTON_API_HOST## et ##PHOTON_API_USE_HTTPS## doivent être présents sur **app et sidekiq**. |
| 205 |
205 |
|
| 206 |
|
-== Stack Photon == |
|
206 |
+== Géocodage == |
| 207 |
207 |
|
| 208 |
|
-{{code language="yaml"}} |
| 209 |
|
-name: photon |
|
208 |
+Le géocodage inverse est assuré par une instance Photon locale, dans une stack séparée : voir [[Photon>>Wiki Batcave John.Infrastructure.ServeurPrincipal.Photon.WebHome]]. |
| 210 |
210 |
|
| 211 |
|
-networks: |
| 212 |
|
- proxy: |
| 213 |
|
- external: true |
| 214 |
|
- |
| 215 |
|
-services: |
| 216 |
|
- photon: |
| 217 |
|
- image: rtuszik/photon-docker:latest |
| 218 |
|
- container_name: photon |
| 219 |
|
- environment: |
| 220 |
|
- REGION: europe |
| 221 |
|
- UPDATE_STRATEGY: SEQUENTIAL |
| 222 |
|
- UPDATE_INTERVAL: 720h |
| 223 |
|
- LOG_LEVEL: INFO |
| 224 |
|
- volumes: |
| 225 |
|
- - photon_data:/photon/data |
| 226 |
|
- networks: |
| 227 |
|
- - proxy |
| 228 |
|
- ports: |
| 229 |
|
- - "2322:2322" |
| 230 |
|
- restart: unless-stopped |
| 231 |
|
- |
| 232 |
|
-volumes: |
| 233 |
|
- photon_data: |
| 234 |
|
-{{/code}} |
| 235 |
|
- |
| 236 |
|
-* Région europe : environ 29 Go à télécharger, 47 Go une fois extraits. Compter une heure avant que l'API réponde au premier démarrage. |
| 237 |
|
-* L'index se met à jour seul tous les 30 jours (##UPDATE_INTERVAL##). |
| 238 |
|
-* Les données Photon ne sont pas sauvegardées : elles se retéléchargent. |
| 239 |
|
- |
| 240 |
240 |
== Accès == |
| 241 |
241 |
|
| 242 |
|
-Publié par SWAG sur un sous-domaine, avec un proxy-conf écrit à la main (SWAG n'en fournit pas pour Dawarich). Le chemin ##/api## est dans un bloc séparé, sans Authelia, pour que les applications mobiles de suivi puissent envoyer leurs points. |
|
212 |
+Publié par SWAG sur un sous-domaine, avec un proxy-conf écrit à la main (SWAG n'en fournit pas pour Dawarich) : voir l'exemple commenté sur la page [[Reverse proxy>>Wiki Batcave John.Infrastructure.ServeurPrincipal.ReverseProxy.WebHome]]. |
| 243 |
243 |
|
|
214 |
+Pas d'Authelia : l'accès est protégé par l'identifiant de Dawarich. Les chemins ##/api## (applications mobiles de suivi) et ##/cable## (mises à jour en direct) ont chacun leur bloc ##location##. |
|
215 |
+ |
| 244 |
244 |
== Import de l'historique == |
| 245 |
245 |
|
| 246 |
246 |
* Source fiable : les fichiers JSON exportés directement depuis l'application Google Maps du téléphone. |