lperamo/otra-nginx
NGINX image for the framework OTRA.
17
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
docker pull lperamo/otra-nginx