Public Repository

Last pushed: 23 days ago
Short Description
An easy-to-use LNMP/LEMP image, with Ubuntu Linux, Nginx, MySQL, PHP-FPM and PHPMyAdmin =)
Full Description

LNMP

This is an image with Linux (Ubuntu 16.04 LTS), Nginx, MySQL and PHP-FPM

TAGS

latest :: Ubuntu 16.04 LTS (xenial), php 7.0

trusty :: Ubuntu 14.04 LTS (trusty), php 5.5

Using this image

Just create a docker-compose.yml on your application root path and run

docker-compose up -d

Configure your mysql database access to host 127.0.0.1, username root, no password and to database app

Your main application will be accessible on http://localhost/ and phpmyadmin on http://localhost/pma/

Note: If you are using zend framework 1 or 2, just modify docker-compose.yml volume to ./:/app/

The docker-compose.yml file

web:
 image: fbraz3/lnmp
 volumes:
 - ./:/app/public/
 ports:
 - "127.0.0.1:80:80"
 - "127.0.0.1:3306:3306"

Changelog

[2017-03-08] Updated to ubuntu Xenial

[2017-03-08] Old build tagged as trusty

[2017-03-08] max_upload_filesize, post_max_size and client_max_body_size = 100M

[2017-01-06] display_errors=on

[2017-01-06] System update and recompress image to reduce size

[2017-01-04] Fix Mysql Grant

[2017-01-04] Change user do www-data on nginx and php-fpm

[2016-09-25] Added phalcon framerwork to php (https://phalconphp.com/)

[2016-04-11] Grant to app database to docker internal network in windows/mac

[2016-04-11] Missing slash on docker-compose.yml volume path

[2016-04-09] Recreate image from a clean ubuntu image

[2016-04-09] Compress layers to reduce image size

[2016-04-09] Export term variable to fix some screen bugs on vim editor

[2016-04-09] Fix too short timeout to fastcgi on nginx

Docker Pull Command
Owner
fbraz3

Comments (0)