Apache with PHP web container for Concrete5
3.1K
This repository is a Dcoker image of Apache with PHP web container for Concrete5.
This Docker image is for the base of niatn1012/concrete5, but it is possible to mount the Concrete5 source files from your host or install the other version and use it.
Dockerfile linksFor OS image Debian Stretch-slim, CentOS and Alpine Linux are available.
For PHP version PHP 5.6 and PHP 7.2 are available.
| Docker tag | OS image | Main middleware | Dockerfile link | Size |
|---|---|---|---|---|
php72-debian, php72, php7-debian, php7, debian, latest | Debian Stretch-slim | Apache2, PHP7.2 | (php72) | |
php72-centos, php7-centos, centos | CentOS 7 | Apache2, PHP7.2 | (php72-centos) | |
php72-alpine, alpine | Alpine Linux 3.8 | Apache2, PHP7.2 | (php2-alpine) | |
php56-debian, php56, php5-debian, php5 | Debian Stretch-slim | Apache2, PHP5.6 | (php56) | |
php56-centos, php5-centos | CentOS 7 | Apache2, PHP5.6 | (php56-centos) |
- Alpine Linux version is provided only with
PHP 7.2.
Installed from
Sury repository.
php56 version only)Installed from
Remi repository.
php56-centos version only)Installed from Alpine Linux official repository.
Mount Concrete5 source files directory (as ${CONCRETE5_SOURCE_PATH} in the below example.) on your host to /var/www/html on a container.
# `docker run` command
docker run --name cc5_app --link cc5_db:cc5:db -v /${CONCRETE5_SOURCE_PATH}:/var/www/html -d niatn1012/apache-php-cc5:php72
# docker-compose.yml
version: "3"
services:
app:
image: niatn1012/apache-php-cc5:php72
container_name: cc5_app
links:
- cc5_db:cc5_db
ports:
- 80:80
volumes:
- ${CONCRETE5_SOURCE_PATH}:/var/www/html
# ... (Omission)
The author and Chronoir.net accept no any responsibility for any obstacles or damages caused by using this Dokcer image. Please be understanding of this beforehand.
php70.Content type
Image
Digest
Size
66.7 MB
Last updated
over 7 years ago
docker pull niatn1012/apache-php-cc5