donwilson / docker-nginx-php74-mariadb

Very basic docker-compose setup for NGINX, PHP 7.4, and MariaDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-nginx-php74-mariadb

Inspired by this tutorial but with some needed adjustments.

Installs various useful PHP 7 extensions and adjusts path to nginx html directory for src folder.

Setup

Console

$ cd docker
$ docker-composer up

Daemon

$ cd docker
$ docker-composer up -d

Working Directory

All web files are stored in src/.

Updates to docker-composer.yml

After making updates to docker-composer.yml, the following commands are necessary to rebuild already-built containers.

$ docker-composer rm
$ docker-composer build
$ docker-composer up

About

Very basic docker-compose setup for NGINX, PHP 7.4, and MariaDB


Languages

Language:Dockerfile 79.0%Language:PHP 21.0%