Introduction

Now webhook application is composed of three service layers. Web layer, Backend layer, and database layer. Nginx served as the web layer, Python Flask served as the backend, and Mongodb as the db layer. All are composed as one service with a docker-compose yml file. Now docker compose up -d will run three docker containers.

Setup

  • run docker-compose to start the application
docker compose up -d
  • To stop the the application
docker compose down
  • The endpoint is at:
POST http://127.0.0.1:8081/webhook/receiver
  • The UI endpoint is:
http://127.0.0.1:8081/webhook/ui