my docker-compose file like this
services: database: container_name: postgres hostname: db image: postgres:12-alpine environment: - P