abarcenas29 / php-docker

Docker container for PHP development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Docker Container

This is a pre-configured docker for development of php application

Pre-requisite

  • Docker CE (equivalent) is installed in your computer

How To Run

  • Using powershell / terminal docker-compose up to run the docker
  • go to localhost:8181 it should run the php info function

Configuration

  • /app - place your php application in this folder
  • composer <php-module> - this docker container has composer for proper third party install

Changing ports

  • In the docker-compose.yml adjust the port filed 8181:80 to <your-destined-port>:80

About

Docker container for PHP development


Languages

Language:Dockerfile 95.7%Language:PHP 4.3%