This project runs inside a Docker container with a MySQL database.
Make sure you have the following installed:
git clone https://github.com/MetsysEht/setuProject
cd setuProjectBefore running the application, update the .env file with the necessary configuration:
docker-compose up -d --build-d: Runs the containers in detached mode.--build: Rebuilds the images if needed.
docker psThis should show both setu and mysql-db containers running.
- https server is running on:
http://localhost:8081 - gRPC server is running on:
http://localhost:8080- You can use server reflection to get all the RPC running on server
- Prometheus metrics are available at:
http://localhost:8082/metrics - MySQL will be accessible on localhost:3307
Modify the docker-compose.yml or use .env file for Setu client settings:
SETUGATEWAYSERVICE_CLIENTID = "client-id"
SETUGATEWAYSERVICE_CLIENTSECRET = "client-secret"
SETUGATEWAYSERVICE_VALIDATEPAN_PRODUCTID = "pan-product-id"
SETUGATEWAYSERVICE_CREATERPD_PRODUCTID = "rpd-product-id"
To stop the application and remove containers:
docker-compose downTo remove all Docker images and volumes:
docker system prune -aThis project is licensed under the MIT License.
Feel free to contribute or raise issues if you encounter any problems! 🚀