GithubHelp home page GithubHelp logo

docker-php-osx-dev-starter's Introduction

Docker PHP OSX Development Starter

This is project for local development using docker. Project contains compose file and a settings of all images.

Fully tested on OS X 10.13 with lastest version of Docker.

For fix volume speed install https://github.com/EugenMayer/docker-sync and run sh sync-start.sh

Images

Install

  1. git clone https://github.com/DevCreel/Docker-PHP-Dev-Starter.git ~/Docker
  2. Place your projects into folder ~/Sites
  3. Run cd && sh Docker/install.sh

Run

cd ~/Docker && dcu

The containers will be restarted independently.

Settings

Description of images settings.

Nginx

  • nginx/nginx.conf - main config
  • nginx/sites/* - vhost configs
  • nginx/admins/* - vhost configs of admin tools

PHP

  • php/php.ini - main config
  • php/php-fpm.conf - fpm config
  • php/bashrc - file copied to container
  • Dockerfile - custom image config with all needed ext

Shell

File shell/functions.sh contains useful docker aliases.

Admins

  • phpMyAdmin, phpMemcachedAdmin, phpRedisAdmin located if folder admin.

Data

MySQL, Portainer store their data locally.

  • ./mysql/data:/var/lib/mysql
  • ./data/portainer:/data

In future

  • find good web log ui
  • ...

docker-php-osx-dev-starter's People

Contributors

semaz avatar

Stargazers

 avatar

Forkers

petrossi

docker-php-osx-dev-starter's Issues

Hello

Hello. How can I tell with you about this project. Takeme your contact. email or skype. My email [email protected]
Thk)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.