Skip to content

Docker base with docker-compose, one container for nginx and on container for php7

Notifications You must be signed in to change notification settings

ipatate/Docker-php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker base with docker-compose, one container for nginx, one container for php7 and one mysql. Is for dev.

for mac user => install docker-machine and docker-compose

No phpmyadmin, i recommand to use (mac user) sequel pro

In root dir:

  • docker-compose build
  • docker-compose up -d
  • docker ps

if you have 3 running container, it's good.

be carreful, datas mysql is in container and not saved. If you delete or rebuild container, you lose the datas

is for use dev symfony project (conf nginx) or other if you want install composer and php in your machine for launch cmd in your terminal

For generate project symfony

  • cd code
  • composer create-project symfony/framework-standard-edition project

About

Docker base with docker-compose, one container for nginx and on container for php7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages