The official Cocorico docker image that give you the ability to run Cocorico out of the box.
- Linux OS
- Docker
- Docker Documentation
Start the container:
docker run --name cocorico -ti -p 80:80 -p 3306:3306 -p 9001:9001 -p 27017:27017 -v `pwd`:/cocorico -v `pwd`/tmp/mysql:/var/lib/mysql -v `pwd`/tmp/mongo:/data/db -e HOST_UID=$UID cocolabs/cocorico
Once the symfony server is running, enjoy Cocorico: http://localhost
Also you can control processes with Supervisor: http://localhost:9001
Connect to the container:
docker exec -it --user cocorico cocorico sh
Stop the container:
docker kill cocorico && docker rm cocorico
Cocorico-Docker is released under the MIT license.