Hello,
I installed MapStore and GeoServer containers inside the same Docker network, and enabled GeoServer CORS while creating the container by running:
docker run -it --name geoserverivrea --network ivreanetwork -p8081:8080 -d --mount type=bind,src=/home/kilsedar/geoserver_data,target=/opt/geoserver_data --env INSTALL_EXTENSIONS=true --env STABLE_EXTENSIONS="ysld,ogcapi-features,wps" --env CORS_ENABLED=true
docker.osgeo.org/geoserver:2.27.1But from inside MapsStore, no matter what I do I keep getting a CORS error. I added, inside localConfig.json (inside the container
/usr/local/tomcat/webapps/mapstore/configs/localConfig.json), under "useCORS", both container domain ("
http://geoserverivrea:8080/geoserver") and host-facing domain ("
http://localhost:8081/geoserver"), but neither solved the issue.
Do you have any suggestions? What am I missing?
Thanks