phpip icon indicating copy to clipboard operation
phpip copied to clipboard

Dockerize project

Open coskundeniz89 opened this issue 2 years ago • 3 comments

I need to use your project so could you dockerize your project?

coskundeniz89 avatar Jan 30 '23 14:01 coskundeniz89

We only develop things as we need them ourselves, and contribute the developement freely to this repository - why wouldn't you contribute such a dockerization? Others may find it very useful!

jjdejong avatar Jan 30 '23 15:01 jjdejong

This project is not optimal for containerizing, because updates would be complex to implement by the user. Each code base update could be applied by installing a new docker image, but database table updates would need to be applied manually on top of installing a new docker image. It is way simpler to do a git pull and then a php artisan migrate to apply an update.

The php artisan migrate script could be run automatically when installing a new docker image, but then it's hard to check for eventual script errors and even harder to fix them.

jjdejong avatar Jan 30 '23 16:01 jjdejong

I gave a first try for building a docker image. Here are instructions I'm not an expert of docker, thus this can be probably improved.

papoteur-mga avatar Mar 04 '23 11:03 papoteur-mga