File .env.template
contains all environmental variables that are used in the project. You should copy it to .env
and
fill with your values.
cp .env.template .env
You should have installed docker and docker-compose on your system.
To start the project run:
docker-compose up -d
In case new packages were added to the project, you should rebuild the container:
docker-compose up -d --build
You can monitor container status using WebStorm built-in docker plugin
View -> Tool Windows -> Services
Also, you can use docker-compose commands:
Show containers status:
docker-compose ps
Show containers logs:
docker-compose logs -f
Stop containers:
docker-compose down