This monorepo contains the RSIKSPR final project code.
- 🖥️
services
- microservices used to interact with this application.- 📦
chat-service
- responsible for messages and conversations - 📦
billing-service
- handles bills which depict users accumulated debt - 📦
payment-service
- handles payment operations and closing bills
- 📦
- 🎥
nginx
- proxy configuration
Application is containerized so you must build then run the docker images.
Before you build the application you must prepare secrets by creating a .env
file. It is used by docker during build.
After than simply build using docker compose.
$ cp .env.example .env
$ docker compose build
Services are scaled automatically, within the docker network a DNS will resolve all service addresses.
$ docker compose up -d --scale billing-service=2 --scale chat-service=3 --scale payment-service=2