The POSTGRESQL_PORT variable should be set, as discussed in nmaas-platform#199 (comment 173021).
POSTGRESQL_PORT