-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0c271e
commit b912e35
Showing
1 changed file
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/. | ||
|