All command examples are described for UNIX-like systems (Linux, Mac OS).
- Make sure that you have Docker and Docker Compose installed
- Windows or macOS: Install Docker Desktop
- Linux: Install Docker and then Docker Compose
- Download some or all of the samples from this repository.
Before starting, you must create a .env
file based on the .env-template
:
cp -b .env-template > .env
Default LEMP app stack can be run in a local environment by going into the root directory and executing:
docker-compose up -d
Going into the app container:
docker exec -it {app_container_name} bash
To stop and remove all containers of app run:
docker-compose down