Hello
i've played a bit with Docker to create a full installation of Ffcrm from a Dockerfile,
and a full installation with Docker compose with a Postgres and NginX containers
i'm almost there, but I've a fulltime job ( :D )
so i'm stuck with nginX conf (and probably not everything is ok) so if someone would like to share his knoledge and improve this with me it would be great
someone ?
https://github.com/Peh4/ffcrm_dockerknown bugs :
i need to connect the Ffcrm container after the container creation to rake:migrate again the database
$ docker exec -it peha/ffcrm bash
The dockerfile is in /ffcrm/Dockerfile
An entrypoint.sh is used to define the database password for each installation (the same as Postgres)
NginX need also a Dockerfile and stuff to customise the configuration but i've not been further with this
It's a start, we can let the user choose Sqlite or mySql configuration with the entrypoint
and probably more accessible with a single docker-compose command
Bests