How should I compose a typical web app? For example, it uses postgresql as database, nginx for frontend web server and unicorn as application server. Should I build separate package for each of these? And another package for app itself?
Or single app package (maybe except database which is separate package) with nginx and unicorn listed as dependencies?
Node.js example is too simple.