You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -151,6 +152,11 @@ A minimal configuration for tenant `tenant_name` may look as follows:
151
152
* The `qwc2_config_file`, `qwc2_index_file`, `qwc2_base_dir` and `qwc2_path` paths will determine whether the viewer build/configuration is shared or separate for each tenant.
152
153
* To use a separate assets folder for each tenant, you can set an appropriate `assetsPath` in the `qwc2_config_file` of each tenant.
153
154
* The various service URLs in the `mapViewer` configuration and in other service configurations need to match what is expected in the `api-gateway` configuration.
155
+
* To separate the qgis projects per tenant (avoiding the `<tenantname>/` prefix on the map names), you can proceed as follows:
156
+
- Create subdirectories for each tenant in `volumes/qgs-resources`, i.e. `volumes/qgs-resources/<tenant_name>`,
157
+
- Set `default_qgis_server_url` to `http://qwc-qgis-server/ows/<tenant_name>`,
158
+
- Set `qgis_projects_base_dir` to `/data/<tenant_name>`,
159
+
- Make sure to remove the `/ows` prefix from the `url` of any manually configured themes in `themesConfig.json`.
0 commit comments