/docker-compose-baseimage

Nginx, PHP FPM, MariaDB and Memcache with Docker Compose based on Flatten Baseimage

Primary LanguageNginx

Nginx, PHP FPM, MariaDB and Memcache with Docker Compose based on Baseimage Flatten

Requirements

Install Docker and Compose

Start

docker-compose up -d

Builds, (re)creates, starts, and attaches to containers based on docker-compose.yml.

To see it work:

PHP files are in /data/php

Static files are in /data/nginx

Logs

docker-compose logs

Displays log output from containers

You can find extra log in /log

Stop

docker-compose stop

Stops running containers without removing them.

They can be started again with docker-compose start.

Delete

docker-compose rm

Removes stopped service containers


Inspired by: