https://github.com/cocolabs-sas/cocorico-docker
The official Cocorico docker image that give you the ability to run Cocorico out of the box.
https://github.com/cocolabs-sas/cocorico-docker
Last synced: 12 months ago
JSON representation
The official Cocorico docker image that give you the ability to run Cocorico out of the box.
- Host: GitHub
- URL: https://github.com/cocolabs-sas/cocorico-docker
- Owner: Cocolabs-SAS
- License: mit
- Created: 2018-02-06T17:25:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-09T07:08:19.000Z (almost 6 years ago)
- Last Synced: 2023-03-03T04:31:36.590Z (over 3 years ago)
- Language: Shell
- Homepage: https://www.cocolabs.io/
- Size: 14.6 KB
- Stars: 22
- Watchers: 14
- Forks: 49
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/Cocolabs-SAS/cocorico)
[](https://www.docker.com/)
# Cocorico-Docker
[](https://hub.docker.com/r/cocolabs/cocorico/)
[](https://hub.docker.com/r/cocolabs/cocorico/)
[](https://hub.docker.com/r/cocolabs/cocorico/)
[](https://hub.docker.com/r/cocolabs/cocorico/)
[](https://github.com/Cocolabs-SAS/cocorico-docker/blob/master/LICENSE)
The official [Cocorico docker image](https://hub.docker.com/r/cocolabs/cocorico/) that give you the ability to run Cocorico out of the box.
## Requirements
- Linux OS
- [Docker](https://docs.docker.com/install/)
- [Docker Documentation](https://docs.docker.com/)
## Usage
Start the container:
``` bash
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](http://localhost)
Also you can control processes with Supervisor: [http://localhost:9001](http://localhost:9001)
Connect to the container:
``` bash
docker exec -it --user cocorico cocorico sh
```
Stop the container:
``` bash
docker kill cocorico && docker rm cocorico
```
## License
Cocorico-Docker is released under the [MIT license](https://github.com/Cocolabs-SAS/cocorico-docker/blob/master/LICENSE).