Skip to content

A quick and simple Linux+Apache+PHP+MySQL docker compose recipe.

Notifications You must be signed in to change notification settings

hellmrf/docker-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-lamp: A quick and simple Linux+Apache+PHP+MySQL docker compose recipe.

This template repository let you quicly setup a new and conteinerized application with a LAMP stack (LAMP is for Linux, Apache, MySQL and PHP), totally configurable with Docker Compose.

Pre requisites

You'll need Docker installed.

Quickstart

Clone this repository and, on the project folder, run:

docker compose up

This command will load the three needed images (Apache/PHP, MySQL and PHPMyAdmin), as setup in docker-compose.yml.

Now you can access http://localhost/ and our application is running. Just edit /public.

PHPMyAdmin runs on 8080 port, so you can use http://localhost:8080 to access phpMyAdmin.

Default credentials

By default, you'll get:

The following credentials:

  • Username: root
  • Password: root
  • Default Database Name: lamp_db

Author

Maintained by hellmrf.

About

A quick and simple Linux+Apache+PHP+MySQL docker compose recipe.

Topics

Resources

Stars

Watchers

Forks