Skip to content

Skeleton of a PHP, Mysql, Apache and PhpMyAdmin application inside a fully configurable Docker environment

Notifications You must be signed in to change notification settings

Romain-Dfs/docker-php-mysql-phpmyadmin-skeleton

Repository files navigation

📦️ Skeleton of Docker, PHP and Mysql application with PhpMyAdmin 📦️

📝 This repository contains the beginning of a PHP application with a Docker

🗃️ Docker containers

The application contains :

  • A PHP container with Apache. You already have Composer installed
  • A MySQL container
  • PhpMyAdmin already connect to MySQL

🔧 Installation

  1. Pull the repository
  2. Install dependencies
make install
  1. Launch the application
make start
  1. Stop the application
make stop

🧑‍💻 Commands to simplify your life

  • Connect to MySql
make mysql-connect
  • Install Composer Packages
docker-compose run --rm php-apache-environment composer require package_name

About

Skeleton of a PHP, Mysql, Apache and PhpMyAdmin application inside a fully configurable Docker environment

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published