As long as you can use one instance of Postgresql. There's another comment thread here[1] about each thing wanting its own Postgresql container.
[1] https://news.ycombinator.com/item?id=50111944