Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 700 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 700 Bytes

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