https://github.com/evilfreelancer/docker-php
A small starting set of scripts and configuration files for PHP development with Docker
https://github.com/evilfreelancer/docker-php
docker docker-compose nginx php
Last synced: 2 months ago
JSON representation
A small starting set of scripts and configuration files for PHP development with Docker
- Host: GitHub
- URL: https://github.com/evilfreelancer/docker-php
- Owner: EvilFreelancer
- Created: 2017-12-03T11:30:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-01T10:04:17.000Z (about 8 years ago)
- Last Synced: 2025-02-09T15:15:41.185Z (over 1 year ago)
- Topics: docker, docker-compose, nginx, php
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker LEMP (Nginx+MySQL+PHP) skeleton
Small collection of scripts and configs for begin.
## How to start
Clone the repo:
git clone git@github.com:EvilFreelancer/docker-php.git
cd docker-php
Copy the ENV from example and change settings to what you need:
cp docker-compose.yml.dist docker-compose.yml
Build the docker image:
docker-compose build
## How to use
Your project root with sources of site should be inside `src` folder:
git clone git@github.com:wpkg/wpkg-espresso.git src
Projet should have `public` folder with `index.php` as entry point.
Now you can work with your image:
docker-compose up -d # Start container in background mode
docker-compose down # Stop containers and networks