Docker Compose failing for new site creation

Getting the following error while installing a clean Wordpress site.

OS:

Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

EE Command:
ee site create test.com --type=wp

Logs:
sttest_config_postfix

[29-09-2019 15:01:08] ee.DEBUG: STDOUT: testtest_config_postfix

[29-09-2019 15:01:08] ee.DEBUG: RETURN CODE: 0

[29-09-2019 15:01:08] ee.DEBUG: -----------------------

[29-09-2019 15:01:08] ee.INFO: Starting site’s services.

[29-09-2019 15:01:08] ee.DEBUG: -----------------------

[29-09-2019 15:01:08] ee.DEBUG: COMMAND: docker-compose up -d nginx postfix

[29-09-2019 15:01:09] ee.DEBUG: STDERR: The Compose file ‘./docker-compose.yml’ is invalid because: networks.site-network value Additional properties are not allowed (‘name’ was unexpected)

[29-09-2019 15:01:09] ee.DEBUG: RETURN CODE: 1