(Edited) Mono & Multi tenant with docker (without exposing config)
Following the below issues and its resolve , there's a need for documenting why and how configuring the config service set up with CORS.
todo (only front):
-
rework monotenant docker compose without proxy & exposing config -
multi(2)tenant docker compose with proxy & config
there is no CORS for config because config is not exposed.
No client should access config because it's the server-side of the clients that access config (server-sides and config are on the same domains).
(Original) Resolved issue
I tried to follow this instruction enabling a map, but after changing the settings.json, DE can't even load the home page.
Here is my "chart" section in my settings.json, and attached is a screenshot of the DE home page and my world.json map file.
"chart": {
"maps": {
"world": {
"id": "world",
"projection": "Equirectangular",
"path": "https://config.data.ilo.org/assets/default/data-explorer/maps/world.json",
"levels": ["World"],
"scale": "150",
}
},
"url": "",
"source": "https://www.ilo.org",
"options": {
"base": {
"height": 400
},
"axis": {
"x": {
"font": {
"family": "'Segoe UI'"
}
},
"y": {
"font": {
"family": "'Segoe UI'"
}
}
},
"serie": {
"annotation": {
"font": {
"family": "'Segoe UI'"
}
},
"tooltip": {
"font": {
"family": "'Segoe UI'"
}
}
}
},
"size": {
"height": 400
}
}
Edited by Mike Velluet