PHP dev environment with MySQL & PostgreSQL using Docker. Includes Dockerfile & docker-compose.yml
209
This Docker image provides a practical and lightweight environment for developing PHP applications with support for both MySQL and PostgreSQL databases. It allows you to quickly set up a local development environment with Apache, PHP, MySQL, and PostgreSQL, making it perfect for testing and rapid development. 🚀
html, mysql, and postgres).Clone the Repository:
git clone https://github.com/ed1rac/php-mysql-postgres-docker-env.git
cd php-mysql-postgres-docker-env
Start the Environment: Run the command below to start the environment:
docker-compose up -d
Access the Services:
localhost:3306localhost:5432localhost3306devuserdevpasslocalhost5432devuserdevpassDockerfile to include additional PHP extensions.docker-compose.yml to configure data persistence.Contributions are always welcome! Feel free to suggest improvements or submit pull requests.
This project is licensed under the MIT License. See the LICENSE for more details.
Content type
Image
Digest
sha256:dc44a1d04…
Size
242.5 MB
Last updated
almost 2 years ago
docker pull ed1rac/php_dev_apache_mysql_postgre