PHP-FPM image with MySQL extension for the framework OTRA.
890
The repository https://github.com/lperamo/otra-docker contains example Docker and Docker Compose files to deploy OTRA in various environments.
docker-compose folder contains:
docker-compose.php-cli.yml: Creates a container for PHP scripts only.docker-compose.nginx.yml: Creates a PHP-FPM container and an NGINX container.docker-compose.full.yml: Creates a PHP-FPM container, an NGINX container and a MariaDB container.Dockerfiles folder contains:
Dockerfile.php-cli: An image with PHP-CLI on Alpine.Dockerfile.php-fpm: An image with PHP-FPM on Alpine.Dockerfile.nginx: An image with Nginx on Alpine.Clone this repository:
git clone https://github.com/lperamo/otra-docker.git
./install-otra-cli.sh
./install-otra-nginx.sh
./install-otra-full.sh
./install-otra-founder.sh
For the site:
cd scripts
./generate-cert.sh
For MariaDB:
cd scripts
./generate-cert-for-mariadb.sh
Content type
Image
Digest
sha256:f55be3788…
Size
138.6 MB
Last updated
over 1 year ago
docker pull lperamo/otra-php-fpm-mariadb