chirripo/chirripo

Chirripo is an open source docker containers setup to be added easily to any existing php project.

v1.6 2022-04-07 21:08 UTC

This package is auto-updated.

Last update: 2024-04-08 01:44:44 UTC


README

Build Status

Docker containers setup that can be easily added to your project by using composer.

Instructions

  • Install package: composer require --dev chirripo/chirripo
  • Copy env.example to root: cp ./vendor/chirripo/chirripo/env.example .env
  • Use the package like this: ./vendor/bin/chirripo list

Documentation

Read the official documentation

Customize

You can change any variable defined in .env to make adjustments to the provided setup. You can also create a file named docker-compose.override.yml in the root of your project to make more advanced customizations.

Xdebug

  • In order to setup xdebug, set XDEBUG_ENABLE variable to "enable", then stop & start the containers.

Commands

For drush, ssh and compose commands; if you need to forward options to the actual command, you need to use --

Examples:

  • chirripo compose -- logs -f nginx
  • chirripo drush -- --version