https://github.com/mattiabasone/phpcanister
Local development environment for PHP
https://github.com/mattiabasone/phpcanister
developer-tools docker docker-compose php
Last synced: about 2 months ago
JSON representation
Local development environment for PHP
- Host: GitHub
- URL: https://github.com/mattiabasone/phpcanister
- Owner: mattiabasone
- Created: 2019-02-18T13:46:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-18T00:15:25.000Z (over 6 years ago)
- Last Synced: 2025-02-09T17:37:14.520Z (over 1 year ago)
- Topics: developer-tools, docker, docker-compose, php
- Language: Dockerfile
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# PhpCanister
Simple and fast development environment for a single or multiple PHP projects.
Available containers:
- nginx
- PHP with PHP-FPM (from 5.6 to 7.3)
- MariaDB
- MySQL
- Redis (TODO)
- memcached (TODO)
### Configuration
- Copy `.env.example` as `.env`
- Configure directives according to your needs:
- HOST_USER_UID: Set your user id on the host, you can get it using `echo $UID` (linux-only)
- APP_CODE_PATH_HOST: Set the path where you saved your files on the host
- APP_CODE_PATH_CONTAINER: Set the path of the shared volume of the container. Change this value only if you know
what are you doing
- Add your virtualhost(s) configuration(s) under nginx/sites. Files must have the extension `.conf`
### Installation
- docker-compose build container1 container2...