This repository contain all docker compose files for run and deploy SuperKMA on both developer and production environment.
Make sure you have installed all of the following prerequisites on your development machine:
- GNU Make
Clone the repository to your local machine:
git clone https://github.com/KMA-Score/Infrastructure.git
Copy example variables from .env.example and edit.
cp -r .env.example .env
make ready
make up # Start all service
make down # Stop all service
make clean # Delete everything include network and volume
In production mode, containers will not expose any port (except Postgres) and use "nginx-pm" as a proxy (this is network name for our reverse proxy. I will try make it dynamic later)
make ready
make prod-up # Start all service
make prod-down # Stop all service
make prod-clean # Delete everything include network and volume