Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matheuspiment authored Jul 2, 2017
1 parent d0c271e commit b912e35
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,42 @@
# AMP Docker image
# Personal AMP Docker image

Apache + MySQL + PHP

A PHP development environment with Apache, phpMyAdmin and MySQL.

[![Docker Pulls](https://img.shields.io/docker/pulls/matheuspiment/amp.svg)](https://hub.docker.com/r/matheuspiment/amp/)
[![Docker Stars](https://img.shields.io/docker/stars/matheuspiment/amp.svg)](https://hub.docker.com/r/matheuspiment/amp/)
[![license](https://img.shields.io/github/license/matheuspiment/amp.svg)](https://github.com/matheuspiment/amp/blob/master/LICENSE)

A [PHP](https://hub.docker.com/_/php/) development environment with [Apache](https://hub.docker.com/_/httpd/), [phpMyAdmin](https://hub.docker.com/r/phpmyadmin/phpmyadmin/) and [MySQL](https://hub.docker.com/_/mysql/)
## Docker images

This image uses images from the official repositories, so to configure any of the "services" consult the respective documentation.

* [Apache - PHP](https://hub.docker.com/_/php/)
* [phpMyAdmin](https://hub.docker.com/r/phpmyadmin/phpmyadmin/)
* [MySQL](https://hub.docker.com/_/mysql/)

## Instructions

* The `www` folder is intended for files that will be offered by the web server.

## Credentials

phpMyAdmin does use MySQL server credential, please check the corresponding
server image for information how it is setup.

The official MySQL use following environment variables to define these:

* `MYSQL_ROOT_PASSWORD` - This variable is mandatory and specifies the password that will be set for the `root` superuser account.
* `MYSQL_USER`, `MYSQL_PASSWORD` - These variables are optional, used in conjunction to create a new user and to set that user's password.

Do not forget to edit them in [`docker-compose.yml`](https://github.com/matheuspiment/amp/blob/master/docker-compose.yml).

## Docker hub tags

You can use following tags on Docker hub:

* `latest` - latest stable release

This image is available at https://hub.docker.com/r/matheuspiment/amp/.

0 comments on commit b912e35

Please sign in to comment.