A Docker-based installer and runtime for the Oro applications, with FrankenPHP and Caddy inside!
- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build -f compose.yaml -f compose.php.yaml build --pull --no-cacheto build fresh images - Run
docker compose up -f compose.yaml -f compose.php.yaml up --pull always -d --waitto start the project - Run
docker compose exec php php bin/console oro:install --application-url='https://localhost'to install the oro application. - Open
https://localhostin your favorite web browser and accept the auto-generated TLS certificate - Run
docker compose down --remove-orphansto stop the Docker containers.
Due to performance considerations on macOS, it is recommended to use Symfony Server for local development.
But if you still want to use Docker, you can follow the instructions below.
- Follow the Symfony Server installation instructions.
- Follow the Symfony Server Local domain names.
- Run
composer create-project oro/commerce-crm-application tmp 5.1.0 --no-progress --no-interaction --no-install - Run
cd tmp - Run
rm -Rf docker-compose.yaml - Run
composer install --no-progress --no-interaction - Run
cp -Rp . .. - Run
cd - && rm -Rf tmp - Run
docker compose up --pull always -d --waitto start the dependencies - Run
symfony console oro:installto install the oro application. - Run
symfony proxy:startto start the symfony proxy. - Run
symfony server:start -dto start the symfony server. - Open your configured domain in your favorite web browser.
- development and CI ready
- Just 1 service by default
- Blazing-fast performance thanks to the worker mode of FrankenPHP (automatically enabled in prod mode)
- Installation of extra Docker Compose services with Symfony Flex
- Automatic HTTPS
- HTTP/3 and Early Hints support
- Real-time messaging thanks to a built-in Mercure hub
- Vulcain support
- Native XDebug integration
- Super-readable configuration
Enjoy!
- Build options
- Using Symfony Docker with an existing project
- Support for extra services
- Deploying in production
- Debugging with Xdebug
- TLS Certificates
- Using a Makefile
- Troubleshooting
- Updating the template
Symfony Docker is available under the MIT License.
Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.