marcellovetro / docker-compose-baseimage

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

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


Languages

Language:Nginx 70.2%Language:Shell 29.4%Language:PHP 0.4%