Question about Photon/Reverse Geocoding setup in docker-compose

I have a question regarding setting up Reverse Geocoding (to get cities/countries stats). I understand that I need to define the Photon URL via environment variables in docker-compose.yml.

Could you confirm where exactly these variables (PHOTON_API_HOST etc.) should be placed? Do I need to add them under both the dawarich_app service AND the dawarich_sidekiq service to ensure the background jobs can see them, or is adding them to dawarich_app sufficient?

Thanks again for the help!

They should be placed in both services, you can use default compose file as a reference

1 Like