drago-ex / project-docker-db
The package extends the Drago Project to include mysqli database on docker.
Package info
github.com/drago-ex/project-docker-db
Type:drago-tools-resource
pkg:composer/drago-ex/project-docker-db
Requires
- php: >=8.3 <9
- drago-ex/database: ^3.0
- drago-ex/project-docker: ^2.0
Requires (Dev)
- drago-ex/project-tools: ^1.0
README
The package extends Drago Project with a MySQL database in Docker.
Requirements
- PHP >= 8.3
- Nette Framework
- Docker
- Dibi
- Drago Project core packages
Installation
composer require drago-ex/project-docker-db
Project files
File copying is handled automatically by drago-ex/project-tools,
which must be installed in your project. Without it, copy the files manually according to the copy section
in this package's composer.json. To skip this package, set "skip": true under
extra.drago-tools.packages.<package-name> in your root composer.json.
The package does the following
- Copies a configured Neon file with database settings preconfigured for Docker.
- Adds Docker files for database setup.
- Integrates Dibi for database interaction.
Remember
The package extends the basic PHP Docker server with a MySQL database. Install and build the base Docker setup first, then add this database package and rebuild Docker.