webfactory / baton

Baton is a Composer dependency analytics tool which helps you keep track of the dependencies in your PHP projects.
https://demo.baton.webfactory.de
MIT License
19 stars 5 forks source link

Docker Environment #4

Closed Matthimatiker closed 6 years ago

Matthimatiker commented 6 years ago

Defines a PHP container for Baton. Provides a docker-compose.yml file that spins up a MySQL database and the app container that waits for the database:

docker-compose up

The current version tries to install Composer dependencies. But it seems as if several private packages are referenced. When the dependencies have been installed successfully via compose install, the PHP version in the container is printed via php -v. This should be replaced by the command that starts the Baton server in the foreground.

Possible improvements: