Docker environment for Marello Application inspired by the awesome Mark Shust's Docker for Magento
mkdir ~/Sites/marello
cd $_
curl -s https://raw.githubusercontent.com/walkwizus/docker-marello/master/lib/template | bash
# Clone Marello repository
git clone https://github.com/marellocommerce/marello-application.git src
# Marello EE
# git clone https://github.com/marellocommerce/marello-application-ee.git
bin/start --no-dev
bin/copytocontainer --all
bin/composer install| Configuration | Value |
|---|---|
| database_driver | pdo_mysql |
| database_host | db |
| database_port | 3306 |
| database_name | marello |
| database_user | marello |
| database_password | marello |
| database_server_version | null |
| database_driver_options | { } |
| mailer_dsn | mailcatcher |
| websocket_bind_address | 0.0.0.0 |
| websocket_bind_port | 8080 |
| websocket_frontend_host | '*' |
| websocket_frontend_port | 8080 |
| websocket_frontend_path | '' |
| websocket_backend_host | '*' |
| websocket_backend_port | 8080 |
| websocket_backend_path | '' |
| websocket_backend_transport | tcp |
| websocket_backend_ssl_context_options | { } |
| search_engine_name | orm |
| search_engine_host | 127.0.0.1 |
| search_engine_port | null |
| search_engine_index_prefix | oro_search |
| search_engine_username | null |
| search_engine_password | null |
| search_engine_ssl_verification | null |
| search_engine_ssl_cert | null |
| search_engine_ssl_cert_password | null |
| search_engine_ssl_key | null |
| search_engine_ssl_key_password | null |
| search_engine_dsn | orm |
| web_backend_prefix | '' |
| session_handler | session.handler.native_file |
| installed | null |
| secret | ThisTokenIsNotSoSecretChangeIt |
| message_queue_transport | dbal |
| message_queue_transport_config | null |
| enable_price_sharding | null |
| deployment_type | null |
| liip_imagine.jpegoptim.binary | null |
| liip_imagine.pngquant.binary | null |
bin/copyfromcontainer composer.lock
bin/restart
bin/console oro:install
bin/console oro:assets:install
# Setup SSL cert
bin/setup-ssl www.marello.local
open https://www.marello.localbin/bash: Drop into the bash prompt of your Docker container. The phpfpm container should be mainly used to access the filesystem within Docker.bin/cli: Run any CLI command without going into the bash prompt. Ex. bin/cli lsbin/clinotty: Run any CLI command with no TTY. Ex. bin/clinotty chmod u+x bin/consolebin/cliq: The same asbin/cli, but pipes all output to/dev/null. Useful for a quiet CLI, or implementing long-running processes.bin/composer: Run the composer binary. Ex.bin/composer installbin/console: Run the Symfony Console. Ex:bin/console cache:cleanbin/copyfromcontainer: Copy folders or files from container to host. Ex.bin/copyfromcontainer vendorbin/copytocontainer: Copy folders or files from host to container. Ex.bin/copytocontainer --allbin/docker-compose: Support V1 (docker-compose) and V2 (docker compose) docker compose command, and use custom configuration files, such ascompose.ymlandcompose.dev.ymlbin/fixowns: This will fix filesystem ownerships within the container.bin/fixperms: This will fix filesystem permissions within the container.bin/mysql: Run the MySQL CLI with database config fromenv/db.env. Ex.bin/mysql -e "EXPLAIN oro_config"bin/node: Run the node binary. Ex.bin/node --versionbin/npm: Run the npm binary. Ex.bin/npm installbin/redis: Run a command from the redis container. Ex.bin/redis redis-cli monitorbin/remove: Remove all containers.bin/removeall: Remove all containers, networks, volumes, and images, calling bin/stopall before doing so.bin/removevolumes: Remove all volumes.bin/restart: Stop and then start all containers.bin/root: Run any CLI command as root without going into the bash prompt. Exbin/root apt-get install nanobin/rootnotty: Run any CLI command as root with no TTY. Exbin/rootnotty chown -R app:app /var/www/htmlbin/setup-ssl: Generate an SSL certificate for one or more domains. Ex.bin/setup-ssl marello.test foo.testbin/setup-ssl-ca: Generate a certificate authority and copy it to the host.bin/start: Start all containers, good practice to use this instead ofdocker-compose up -d, as it may contain additional helpers.bin/status: Check the container status.bin/stop: Stop all project containers.bin/stopall: Stop all docker running containersbin/update: Update your project to the most recent version ofdocker-marello.