- DB with postgres image
- Frontend in HTML/CSS with nginx image
- Backend with express node image
docker compose up -d --build --remove-orphans# because bake can read config from docker compose as well hence providing the file name explicitly
docker buildx bake --file docker-bake.hcl transactions- The .env.example can be used as a ref for env variables
- The version is managed by package.json version and tags are created by the github actions
- metadata action for generating metadata like annotations, tags and labels for the image
- buildx setup action is used to setup bake required build
- bake action is used to build the multi platform parallel builds
- The latest tags is attached to the newest image pushed
- The application is a simple transactions app which has 2 routes in the backend to add and list transactions of lend and borrow.
- The frontend uses the backend to connect store and list the transactions and shown below:
