formtools / core

The Form Tools Core.
https://formtools.org
207 stars 78 forks source link

Is there any plan for formtools to be packaged as docker image? #552

Open acecombat2 opened 5 years ago

acecombat2 commented 5 years ago

I was wondering if anyone is capable to run formtools on dockers. I can't find any formtools docker image in dockerhub.

benkeen commented 5 years ago

Hey @acecombat2, no plans myself. But there's nothing special about Form Tools requirements - I wrote it to support the most wide ranging server environments as possible. So really all you need it a PHP 5.3 and any reasonably version of MySQL. If you end up sticking it in a docker image, let me know and I could maybe link to it.

nelsondcosta23 commented 5 years ago

Not now, but in 2 month from now, I'm starting with docker+kubernetes with FT. For now I even have time for do normal stuffs!

acecombat2 commented 5 years ago

@nelsondcosta23 good to know there is someone have the time to do it. @benkeen, I myself not that techie enough to know how to work around with linux especially anything to do with programming or scripting. Currently, I have server running open media vault @ home which it has docker plugin. I have nextcloud running with mariadb containers separately. I'm stick with limesurvey temporary in hoping there is someone build a dockerfile for formtools. I'm experimenting to build a cost effective home server/small office server, where papers will be less needed in administration processes.

I think is better to bundle the docker image of only with formtools + apache without database.

graywen24 commented 5 years ago

Hi all, I running the php+mysql on 2 docker images, however when i try to install formtools, all pass but can not detect mysql ... anyone try it?

nelsondcosta23 commented 5 years ago

Im gonna be honest I want to do that... But until november I full of work :S

candhu commented 5 years ago

I dont have a FormsTools Docker as such, but I do have a hand-cranked method where I have my FormsTools directory and the MySQL database backed- up into GIT. I also have a clone of https://github.com/sprintcube/docker-compose-lamp. When I want to do some development or test out some new forms, I just fire up the LAMP docker, pointing the WWW directory to my FormsTools GIT checkout, and import the latest Forms DB export into the MySQL database. Not pretty, but it does work.

graywen24 commented 5 years ago

I think there is a bug for the new version. When i docker-compose up my 2 containers with both apache+php, MySQL.. no matter how I configure step 2 always show failed. However, it can detect the MySQL just didnt show version.

anyway, finally I use the traditional way to install mysql+php+apache on my vm..and able to install it successfully.