Sign inSign up

songgs/apache-php-mysql

By songgs

Updated about 9 years ago

https://github.com/Song2017/Microsoft/tree/dev

Image
0

1.3K

songgs/apache-php-mysql repository overview

Docker Image for Apache with MySQL

Overview

This Drupal (with MySQL) Docker image is built for Azure Web App on Linux.

Components

This docker image contains the following components:

  1. PHP 7.1.2
  2. Apache HTTPD 2.4.25
  3. MariaDB 10.0+
  4. phpMyAdmin 4.6.6

Ubuntu 16.04 is used as the base image.

Features

This docker image enables you to:

  • run a Apache Environment on Azure Web App on Linux;
  • connect your App site to Azure ClearDB or the builtin MariaDB;
  • The MariaDB with the phpMyAdmin built in this docker image.

Deploying / Running

You can specify the following environment variables when deploying the image to Azure or running it on your Docker engine's host.

NameDefault Value
DATABASE_NAMEmysql
DATABASE_USERNAMEmysql
DATABASE_PASSWORDMS173m_QN
PHPMYADMIN_USERNAMEphpmyadmin
PHPMYADMIN_PASSWORDMS173m_QN
Deploying to Azure

With the button below, you can easily deploy the image to Azure.

Deploy to Azure

The Builtin MariaDB server

The builtin MariaDB server uses port 3306.

The Builtin phpMyAdmin Site

we're using the builtin MariaDB default, so you can access the builtin phpMyAdmin site with a URL like below:

http://hostname[:port]/phpmyadmin

How to install APP

  1. Use any FTP tool you prefer to connect to the site (you can get the credentials on Azure portal);
  2. Upload the tar file of the APP that you want to install to the folder /home/site/wwwroot/;
  3. Extract the contents into /home/site/wwwroot;

Startup Log

The startup log file (entrypoint.log) is placed under the folder /home/LogFiles.

Tag summary

Content type

Image

Digest

Size

215 MB

Last updated

about 9 years ago

docker pull songgs/apache-php-mysql