adamzammit / limesurvey-docker

Production ready dockerised Limesurvey
GNU General Public License v3.0
86 stars 51 forks source link

Add LIMESURVEY_API_MODE to control the initial status of the RPC API #59

Closed swssl closed 3 weeks ago

swssl commented 3 weeks ago

Hi, first of all thank you for your work. I needed a way to activate the API automatically on container creation. Therefore I added the LIMESURVEY_API_MODE env variable that can take one of "off", "json" or "xml". Please provide any feedback if I missed something.

adamzammit commented 3 weeks ago

Thanks for this request. I changed the implementation as your initial one created duplicate entries if the env vars were changed. Otherwise it is merged now - thanks again.