-
Run DB container:
docker run --name mysql55_orocrm -e MYSQL_ROOT_PASSWORD={set root password} -e MYSQL_DATABASE=oro_crm -e MYSQL_USER=orocrm -e MYSQL_PASSWORD=orocrm -d mysql:5.5
-
Run application container and link DB:
docker run --name orocrm -p 80:80 --link mysql55_orocrm:dborocrm -d olidac/orocrm
If the DB container is stopped, start it with : docker start mysql55_orocrm
url install : /app_nocache.php/installer
As an application in this image is not installed, you have to proceed with web installer instructions.
docker run --name mysql55_orocrm -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=oro_crm -e MYSQL_USER=orocrm -e MYSQL_PASSWORD=orocrm -d mysql:5.5 docker run --name orocrm -p 80:80 --link mysql55_orocrm:dborocrm -d olidac/orocrm:1.8.2
with docker compose => docker-compose -f compose-orocrm.yml up -d
docker exec -it orocrm bash
app/console oro:install --organization-name=Acme --user-name=admin --user-email=admin@example.com --user-firstname=John --user-lastname=Doe --user-password=admin --application-url=http://localhost/oro --drop-database --timeout=3600 --sample-data=y --env=prod && chown -R www-data:www-data web/js web/css app/cache app/logs
rm -rf app/cache/* && app/console cache:warmup --env=dev && chown -R www-data:www-data app/cache app/logs