( PHP ) Docker Containers for Common Utilities.
You can find:
- The latest supported versions of php: 7.2.34, 7.3.23, 7.4.11
- Installed over CentOS 7, 8, and Debian 10
- With different flavours: cli, utils (wich means composer and prestissimo), apache for development with xdebug or production ssl certificates automatically renewed.
Following the container list, Enjoy =]
This is the very base container, with only CentOS 7 and Php 7.4.11.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/centos7-php7.4-cli:7.4.11 php -v
This is the utils container, with CentOS 7, Php 7.4.11, composer and prestissimo.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/centos7-php7.4-cli:7.4.11 composer -v
This is the development container, with CentOS 7, Php 7.4.11, Apache 2.4.6 and XDebug.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Open the folder examples and target the environment you want to test: centos/7/php/7.4/apache/dev/
- Move the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up
- Connect your browser to localhost:8080.
This is the production container, with CentOS 7, Php 7.4.11, Apache 2.4.6 and Certbot to manage a grade A+ (tested with https://www.ssllabs.com/ on the 2020-01-16) SSL certificate.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Ensure you're exposing the http and https ports (80 and 443)
- Open the folder examples and target the environment you want to test: centos/7/php/7.4/apache/prod/
- Move and edit the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move and edit the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up -d
- Connect your browser to your domain name.
This is the very base container, with only CentOS 7 and Php 7.3.23.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/centos7-php7.3-cli:7.3.23 php -v
This is the utils container, with CentOS 7, Php 7.3.23, composer and prestissimo.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/centos7-php7.3-cli:7.3.23 composer -v
This is the development container, with CentOS 7, Php 7.3.23, Apache 2.4.6 and XDebug.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Open the folder examples and target the environment you want to test: centos/7/php/7.3/apache/dev/
- Move the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up
- Connect your browser to localhost:8080.
This is the production container, with CentOS 7, Php 7.3.23, Apache 2.4.6 and Certbot to manage a grade A+ (tested with https://www.ssllabs.com/ on the 2020-01-16) SSL certificate.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Ensure you're exposing the http and https ports (80 and 443)
- Open the folder examples and target the environment you want to test: centos/7/php/7.3/apache/prod/
- Move and edit the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move and edit the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up -d
- Connect your browser to your domain name.
This is the very base container, with only CentOS 7 and Php 7.2.34.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/centos7-php7.2-cli:7.2.34 php -v
This is the utils container, with CentOS 7, Php 7.2.34, composer and prestissimo.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/centos7-php7.2-cli:7.2.34 composer -v
This is the development container, with CentOS 7, Php 7.2.34, Apache 2.4.6 and XDebug.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Open the folder examples and target the environment you want to test: centos/7/php/7.2/apache/dev/
- Move the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up
- Connect your browser to localhost:8080.
This is the production container, with CentOS 7, Php 7.2.34, Apache 2.4.6 and Certbot to manage a grade A+ (tested with https://www.ssllabs.com/ on the 2020-01-16) SSL certificate.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Ensure you're exposing the http and https ports (80 and 443)
- Open the folder examples and target the environment you want to test: centos/7/php/7.2/apache/prod/
- Move and edit the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move and edit the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up -d
- Connect your browser to your domain name.
This is the very base container, with only CentOS 8 and Php 7.4.11. Although httpd apache 2.4.37 is installed, is not started.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/centos8-php7.4-cli:7.4.11 php -v
This is the utils container, with CentOS 8, Php 7.4.11, composer and prestissimo.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/centos8-php7.4-cli:7.4.11 composer -v
This is the development container, with CentOS 8, Php 7.4.11, Apache 2.4.6 and XDebug.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Open the folder examples and target the environment you want to test: centos/7/php/7.4/apache/dev/
- Move the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up
- Connect your browser to localhost:8080.
This is the very base container, with only Debian 10 and Php 7.4.11.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/debian10-php7.4-cli:7.4.11 php -v
This is the utils container, with Debian 10, Php 7.4.11, composer and prestissimo.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/debian10-php7.4-utils:7.4.11 composer -v
This is the development container, with Debian 10, Php 7.4.11, Apache 2.4.38 and XDebug.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Open the folder examples and target the environment you want to test: debian/10/php/7.4/apache/dev/
- Move the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up
- Connect your browser to localhost:8080.
This is the production container, with Debian 10, Php 7.4.11, Apache 2.4.38 and Certbot to manage a grade A (tested with https://www.ssllabs.com/ on the 2020-01-16) SSL certificate.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Ensure you're exposing the http and https ports (80 and 443)
- Open the folder examples and target the environment you want to test: debian/10/php/7.4/apache/prod/
- Move and edit the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move and edit the .env.example file to the project directory folder and rename as .env;
- Move and edit the php.ini.example file to the project directory folder and rename as php.ini;
- Run the following command:
docker-compose.yml up -d
- Connect your browser to your domain name.
This is the very base container, with only Debian 10 and Php 7.3.23.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/debian10-php7.3-cli:7.3.23 php -v
This is the utils container, with Debian 10, Php 7.3.23, composer and prestissimo.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/debian10-php7.3-utils:7.3.23 composer -v
This is the development container, with Debian 10, Php 7.3.23, Apache 2.4.38 and XDebug.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Open the folder examples and target the environment you want to test: debian/10/php/7.3/apache/dev/
- Move the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up
- Connect your browser to localhost:8080.
This is the production container, with Debian 7, Php 7.3.23, Apache 2.4.38 and Certbot to manage a grade A (tested with https://www.ssllabs.com/ on the 2020-01-16) SSL certificate.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Ensure you're exposing the http and https ports (80 and 443)
- Open the folder examples and target the environment you want to test: debian/10/php/7.2/apache/prod/
- Move and edit the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move and edit the .env.example file to the project directory folder and rename as .env;
- Move and edit the php.ini.example file to the project directory folder and rename as php.ini;
- Run the following command:
docker-compose.yml up -d
- Connect your browser to your domain name.
This is the very base container, with only Debian 10 and Php 7.2.34.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/debian10-php7.2-cli:7.2.34 php -v
This is the utils container, with Debian 10, Php 7.2.34, composer and prestissimo.
The easiest way to test this container is to run one in your local machine, you can use the following command:
docker run --rm rdeleo/debian10-php7.2-utils:7.2.34 composer -v
This is the development container, with Debian 10, Php 7.2.34, Apache 2.4.38 and XDebug.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Open the folder examples and target the environment you want to test: debian/10/php/7.2/apache/dev/
- Move the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move the .env.example file to the project directory folder and rename as .env;
- Run the following command:
docker-compose.yml up
- Connect your browser to localhost:8080.
This is the production container, with Debian 10, Php 7.2.34, Apache 2.4.38 and Certbot to manage a grade A (tested with https://www.ssllabs.com/ on the 2020-01-16) SSL certificate.
This containers is designed to be used with an orchestrator, to test it you should use docker-compose with the following instructions:
- Ensure you're exposing the http and https ports (80 and 443)
- Open the folder examples and target the environment you want to test: debian/10/php/7.2/apache/prod/
- Move and edit the docker-compose.template.yml file to the project directory folder and rename as docker-compose.yml;
- Move and edit the .env.example file to the project directory folder and rename as .env;
- Move and edit the php.ini.example file to the project directory folder and rename as php.ini;
- Run the following command:
docker-compose.yml up -d
- Connect your browser to your domain name.