The following bug has been logged on the website:
Bug reference: 16372
Logged by: Гарри Гильманов
Email address: 3434455@mail.ru
PostgreSQL version: 12.2
Operating system: ubuntu
Description:
Базу 'test' , создаваемую в docker-compose командой POSTGRES_DB, не видят
другие контейнеры. Видят только после ручного создания базы 'test'. Причем
создаются две базы 'test'.
The 'test' database created in docker-compose with the POSTGRES_DB command
cannot be seen by other containers. They see it only after manually creating
the 'test' database. And two bases of 'test' are created.
https://github.com/riderufa/GGilmanovE89