A simple docker compose workflow that sets up a LEMP network of containers for local Slim development.
- Clone the repo
- cd into the directory
- Run
docker-compose up -d --build
- Navigate to
http://localhost:8080
- See the Hello World example from the SlimFramework website.
- nginx
:8080
- mysql
:3306
- php
:9000
- composer
- redis
:6379
- mailhog
:1025
for smtp server and:8025
for the web UI. - elasticsearch
:9200
- set up with only 3 nodes as per the elastic documentation.