Micro App (Rest API)
I. Requirements
- A Laptop
😉 - Docker (docker-compose*)
- Makefile (cli)
II. Installation
Run commad below to install docker containers using docker-compose
make run
III. Architecture
- Web Server
(Nginx)
- Cache
(Redis)
- Rest API
(PHP - Phalcon framework)
- Databse
(SQL - Postgres)
- Storage
(Minio S3 Object Storage)
- Mailer
(SMTP / PHPMail)
IV. Usage
- Run (build) docker containers
make run
- Stop containers
make stop
- Clean all (drop: containers, volumns..)
make dclean
- Run bash on php service
make console
- Database Migration
make migrate
- Run composer on the php container
make composer
- View Logs (live) of the php container
make dlogs