Skip to content

sQuarecoW/docker-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Simple PHP app using Docker compose

Using offical images from Docker

(NGINX PHP-FPM Mysql Postgresql) AND (APACHE PHP Mysql Postgresql)


There are two type off servers. You can choose based on your needs.

apache_ubuntu: Web server is Apache. base image is ubuntu 16.04
nginx_ubuntu: Web server is NGINX. base image is php-fpm which is based on ubuntu


Docker Compose files located in ".docker" folder. if you want to change location of this folder
remeber to make changes in conf files too. (e.g. docker-compose.yml)

You can rename ".docker" folder but "public_html" have been hardcoded in "nginx" & "apache" configuration file

I tried to comment on every file to make it clear what is the usage of those files

Some of extenstions with thier dependecies included

TODO: I will add more type of web servers. e.g. alpine variant
if you encounter any problem, open issue

About

simple php app using docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%