Skip to content

yeclense/docker-compose-phpfpm-nginx-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-phpfpm-nginx-mysql

Build Status

docker-compose devenv setup ready to start building a Symfony application. Can work with any other php app too.

Setup

You can use your own .env file, just copy the variables in.env.dist to it. This command will create a .env for you if you don't have one already:

cp -n .env.dist .env

Run

To spin up you devenv just run:

make

Update hosts file (optional)

This command adds symfony.local and elk.local to your hosts file:

make hosts

Start working

You can install now your favorite Symfony version, skeleton or component mix. The entry point is:

http://symfony.local

Check logs

You have an ELK setup where you can check your project logs:

http://elk.local

Stop and remove containers

To stop devenv and remove its containers:

make nodev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published