Three-Service Application
This project models a typical backend stack: a Node.js API, PostgreSQL database, and Redis cache. The API can reach PostgreSQL using db and Redis using redis because Compose provides service-name DNS.
The database gets persistent storage, while Redis can remain disposable when its data is only a cache.
ADVERTISEMENT