ChurchCRM / Docker

Docker Setup of Church CRM
0 stars 20 forks source link

Docker Image is out of date #10

Open DawoudIO opened 6 years ago

DawoudIO commented 6 years ago

We are about to release 3.0.0, and it is unclear how to make a new build with this repo. The current build is 2.7.5 which is over a year old.

DawoudIO commented 6 years ago

@jaskipper do you recall

ajcollett commented 6 years ago

Hey all. I am looking to deploy ChurchCRM for my church, and I am wanting to use docker. I have some fair experience with Docker, so maybe I can help out? Also, I want to point out that ENV variable for passwords is not the best:-P But if you'd like my help, I can make an issue explaining that, and hopefully help fix it.

jaskipper commented 6 years ago

Hey @DawoudIO , @ajcollett . I'll take a look at it. Would love any help @ajcollett !

ajcollett commented 6 years ago

@jaskipper, I'm going to create a few issues for discussion, then once resolved we can see how I can best contribute.

jaskipper commented 6 years ago

@DawoudIO , @ajcollett, @crossan007. I've pushed a new branch (crm-docker-rewrite) with completely updated build files to get Docker working with ChurchCRM 2.10.4. I have split it into 3 different containers: MariaDB, Apache/PHP7 and ChurchCRM. I have also changed over to use Docker Secrets for MYSQL passwords. If you can, test it out and let me know what you think. It's working perfectly on my system. Let me know what changes we could do to enhance it even more. See the Readme for instructions on how to use.

crossan007 commented 6 years ago

@jaskipper It may be worth documenting where ChurchCRM will keep "uploaded" files such as images. Do these persist on the docker host, or would images be lost with the docker image?

jaskipper commented 6 years ago

@crossan007 Yes. As of now, they are in the containers. We can put them on a separate Docker Volume, which would probably be best. I'll set that up as well.

jaskipper commented 6 years ago

I've pushed a new commit (https://github.com/ChurchCRM/Docker/tree/crm-docker-rewrite) that installs SSL by default along with many other changes. See the Readme for installation instructions. I'm getting one error at times in the ChurchCRM interface that says that mod_rewrite has failed, although it seems to be working fine. Any ideas?