Docker Image Feedback

More
3 months 4 weeks ago #172266 by visionit
visionit created the topic: Docker Image Feedback
Hello,


we have been working on a production ready Docker Image for LimeSurvey and are looking for Feedback (issues, wanted features, tips for configuration, etc):

hub.docker.com/r/martialblog/limesurvey/

Using docker-compose the files in the repository will quickly startup a LimeSurvey instance.

Thanks and cheers,
Markus
The following user(s) said Thank You: LouisGac

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #172304 by LouisGac
LouisGac replied the topic: Docker Image Feedback
thank you for sharing.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #172346 by jelo
jelo replied the topic: Docker Image Feedback

visionit wrote: are looking for Feedback (issues, wanted features, tips for configuration, etc):

Are you using a productive LimeSurvey setup with this docker image? With FPM?
I wonder why php-fpm cannot be used inside the docker image. Or is that design decision of yours?

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #172424 by visionit
visionit replied the topic: Docker Image Feedback
Hey, I'm using the apache version in a productive setup.

What do you mean by "php-fpm cannot be used inside the docker image"?

$ docker run -ti --entrypoint php-fpm martialblog/limesurvey:fpm
[15-Aug-2018 07:10:01] NOTICE: fpm is running, pid 1
[15-Aug-2018 07:10:01] NOTICE: ready to handle connections

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #172425 by jelo
jelo replied the topic: Docker Image Feedback
Thanks for your answer.

I was confused by this sentence.

To use the fpm image, you need an additional web server that can proxy http-request to the fpm-port of the container

But reading it now again I see additional web server and not additional container. So I got that wrong. Sorry for wasting your time.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #172428 by visionit
visionit replied the topic: Docker Image Feedback
No worries.

Dockerising PHP application with nginx and php-fpm is common practice. This is usually a more flexible/scalable setup.

Please Log in or Create an account to join the conversation.

More
2 months 4 weeks ago #173687 by 412837
412837 replied the topic: Docker Image Feedback
looks very good to me.

I did a search before starting another...

it is only missing data volumes. do you know if lime stores data in the www filesystem? or is it all db only?

will it be official/maintained?

how would the update process be? if we just replace the docker image with a new version and data volumes from the previous one, will limesurvey upgrade the data?

perhaps would be good to coordinate with the team.

Please Log in or Create an account to join the conversation.

More
2 months 4 weeks ago #173689 by jelo
jelo replied the topic: Docker Image Feedback

412837 wrote: it is only missing data volumes. do you know if lime stores data in the www filesystem? or is it all db only?

What is the www-filesystem? Never heard that term, perhaps you mean the webrootpath as a storage destination?

LimeSurvey stores data in files (e.g. config files, themes, uploads).

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
2 months 4 weeks ago #173718 by bruce78
bruce78 replied the topic: Docker Image Feedback
Very cool, I hope to test this out in the coming days!

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #173800 by visionit
visionit replied the topic: Docker Image Feedback
Hi,

so all uploaded (persitent) user data is stored to the upload/ directory. Any other data (in www/) is application specific, thus getting changed when changing the version of the image. So what you want to do, is to use a Volume for /var/www/html/upload/

If you change the Image version you'll get the new LS version and the uploaded data stays the same.

I'd be very happy to get feedback for improvement from the LS Team.

Cheers

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!