docker-compose devenv setup ready to start building a Symfony application. Can work with any other php app too.
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
To spin up you devenv just run:
make
This command adds symfony.local
and elk.local
to your hosts file:
make hosts
You can install now your favorite Symfony version, skeleton or component mix. The entry point is:
http://symfony.local
You have an ELK setup where you can check your project logs:
http://elk.local
To stop devenv and remove its containers:
make nodev