Where should I place the dhis-google-auth.json file in my project

I am trying to include the dhis-google-auth.json file so as to implement Google Earth Engine. I had placed it in the C:\xxx\docker directory where I have the dhis.conf file. But after I start the docker container, I got the error message:

INFO  org.hisp.dhis.external.location.DefaultLocationManager [main] File /opt/dhis2/dhis-google-auth.json does not exist

INFO  org.hisp.dhis.external.conf.DefaultDhisConfigurationProvider [main] Could not find dhis-google-auth.json

I figure this out already. I added the file to the docker compose volume.

1 Like