Skip to content

Dylvn/oro-docker

 
 

Repository files navigation

Oro Docker

A Docker-based installer and runtime for the Oro applications, with FrankenPHP and Caddy inside!

Getting Started

Linux

  1. If not already done, install Docker Compose (v2.10+)
  2. Run docker compose build -f compose.yaml -f compose.php.yaml build --pull --no-cache to build fresh images
  3. Run docker compose up -f compose.yaml -f compose.php.yaml up --pull always -d --wait to start the project
  4. Run docker compose exec php php bin/console oro:install --application-url='https://localhost' to install the oro application.
  5. Open https://localhost in your favorite web browser and accept the auto-generated TLS certificate
  6. Run docker compose down --remove-orphans to stop the Docker containers.

Macos

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.

  1. Follow the Symfony Server installation instructions.
  2. Follow the Symfony Server Local domain names.
  3. Run composer create-project oro/commerce-crm-application tmp 5.1.0 --no-progress --no-interaction --no-install
  4. Run cd tmp
  5. Run rm -Rf docker-compose.yaml
  6. Run composer install --no-progress --no-interaction
  7. Run cp -Rp . ..
  8. Run cd - && rm -Rf tmp
  9. Run docker compose up --pull always -d --wait to start the dependencies
  10. Run symfony console oro:install to install the oro application.
  11. Run symfony proxy:start to start the symfony proxy.
  12. Run symfony server:start -d to start the symfony server.
  13. Open your configured domain in your favorite web browser.

Features

Enjoy!

Docs

  1. Build options
  2. Using Symfony Docker with an existing project
  3. Support for extra services
  4. Deploying in production
  5. Debugging with Xdebug
  6. TLS Certificates
  7. Using a Makefile
  8. Troubleshooting
  9. Updating the template

License

Symfony Docker is available under the MIT License.

Credits

Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.

About

A Docker-based installer for Oro. Install: download and `docker compose up`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Makefile 47.4%
  • Dockerfile 41.0%
  • Shell 11.6%