Getting started with Docker LimeSurvey Image on Windows host

More
6 months 6 days ago #172266 by visionit
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, JonasHeidelberg

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

More
6 months 3 days ago #172304 by LouisGac
thank you for sharing.

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

More
6 months 2 days ago #172346 by jelo

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?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

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

More
6 months 1 day ago #172424 by visionit
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
6 months 1 day ago #172425 by jelo
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.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

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

More
6 months 1 day ago #172428 by visionit
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
5 months 5 days ago #173687 by 412837
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
5 months 5 days ago #173689 by jelo

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).

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

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

More
5 months 4 days ago #173718 by bruce78
Very cool, I hope to test this out in the coming days!

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

More
5 months 3 days ago #173800 by visionit
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.

More
3 weeks 2 days ago #179574 by JonasHeidelberg
Thanks for this work! Did you also have a look at registry.hub.docker.com/u/crramirez/limesurvey/ which is mentioned here? www.limesurvey.org/es/foro/news/98178-li...-docker-ready-to-run
Sounds like crramirez tried to solve a similar task back then? His last update seems to be 3 months ago, yours 4 hours as of now ;-)...

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

More
3 weeks 2 days ago #179575 by JonasHeidelberg
Hi Markus, I installed Docker Desktop Community on Windows 10 and configured it to using Linux containers. I was able to "docker pull martialblog/limesurvey", but now I am not sure how to continue. I tried running docker-compose, but learned that it seems to need a docker-compose.yml locally in the Windows file system, whereas the "docker pull" put everything into the virtual hard disk used by the Linux VM...

Is there some quick start guide for newbies like me? Thanks so much for any help!

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

More
3 weeks 1 day ago #179645 by visionit
Hi, yes I've seen that image. I didn't like they way the installation is handled, with the limesurvey code as tar in the repository. Mine pulls the current release directly from GitHub.

...also I've automated upgrading the Docker image and used a similar tagging strategy as the LimeSurvey devs. Which keeps things fresh and simple.

Cheers

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

More
3 weeks 1 day ago #179646 by visionit
Hey, I'm not that familliar with Windows... but I think your on the right track.

What you gotta do is: 1. Install docker-compose for Windows 2. Get the docker-compose.yml from my repo 3. Change in the directory in which you downloaded the yml and run docker-compose up (this will also pull the image)

github.com/martialblog/docker-limesurvey...r/docker-compose.yml

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

More
2 weeks 4 days ago #179773 by Momaza
What is the update process? If we just replace the docker image with the new version and the amount of data from the previous image, will limesurvey upgrade the data?

หวยจับยี่กี
xn--12cn8c4ac0a1a5cxbb1s.com

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!