diff --git a/emission/integrationTests/docker-compose.yml b/emission/integrationTests/docker-compose.yml index e5eb2635e..4ee29abd3 100644 --- a/emission/integrationTests/docker-compose.yml +++ b/emission/integrationTests/docker-compose.yml @@ -11,7 +11,7 @@ services: - GFBK_KEY=$GFBK_KEY - GEOFABRIK_QUERY_URL=https://geocoding.geofabrik.de/$GFBK_KEY - OPENSTREETMAP_QUERY_URL=https://nominatim.openstreetmap.org - - NOMINATIM_CONTAINER_URL=http://rhodeisland-nominatim + - NOMINATIM_CONTAINER_URL=http://rhodeisland-nominatim:8080 volumes: # specify the host directory where the source code should live @@ -41,6 +41,8 @@ services: entrypoint: /app/start.sh image: nataliejschultz/rhodeisland-image:4.0 container_name: rhodeisland-nominatim + ports: + - "8080:8080" deploy: replicas: 1 restart_policy: diff --git a/emission/net/ext_service/geocoder/nominatim.py b/emission/net/ext_service/geocoder/nominatim.py index c0e311560..c5982478a 100644 --- a/emission/net/ext_service/geocoder/nominatim.py +++ b/emission/net/ext_service/geocoder/nominatim.py @@ -15,7 +15,7 @@ try: NOMINATIM_QUERY_URL = os.environ.get("NOMINATIM_QUERY_URL") logging.info(f"NOMINATIM_QUERY_URL: {NOMINATIM_QUERY_URL}") - print("Nominatim Query URL Configured!") + print("Nominatim Query URL Configured:", NOMINATIM_QUERY_URL) if NOMINATIM_QUERY_URL is None: raise Exception("Nominatim query url not configured")