Re: [MapServer-users] Variables in mapfile

2023-11-17 Thread Rahkonen Jukka via MapServer-users
Hi, That is an old but still relevant idea https://github.com/MapServer/MapServer/issues/408. For your use case it could be enough to store the connection into a text file and read it with INCLUDE https://mapserver.org/mapfile/include.html. -Jukka Rahkonen- -Alkuperäinen viesti-

[MapServer-users] Variables in mapfile

2023-11-17 Thread Andrzej Kępys via MapServer-users
Hi All I'm trying to deploy mapserver on kubernetes cluster, to keep development separation I'm using few environments, for every of them I've got separated database as a source for the layers. Connection parameters (host/port/user/pass) are common for all solution and stored in configmaps.