kartoza / docker-qgis-server

A dockerfile that contains a running QGIS server
69 stars 31 forks source link

Add custom apache conf file for container based service #23

Closed lucernae closed 5 years ago

lucernae commented 5 years ago

Hi @timlinux ,

I want to add some optimization for container based scaling. I described the issue in detail in https://github.com/kartoza/docker-qgis-server/issues/22. If this is ok with you, we can implement the same idea to qgis 3 folder.

The default behaviour will be the same. But I added an environment variable called QGIS_CONF_FILE to customize which conf file that want to be activated. I added entrypoint script to check this environment variable at startup, default to original conf file if not set.

I should also change the README if this is acceptable.

timlinux commented 5 years ago

Ah that’s cool +1 from me but yes please update the readme too

lucernae commented 5 years ago

Thanks @timlinux ! It seems I don't have write access so I can't merge it. But I'm done with the PR+README for now.