Waypoint-entrypoint config for exec plugin

Hi I copied the kubernetes example into a docker-compose format, but I am getting the same error
The template file

version: '2'

services:
  example:
    container_name: example
    image: {{.Input.DockerImageFull}}
    environment:
        - WAYPOINT_ALT_TOKEN_EXAMPLE="{{index .Env "WAYPOINT_CEB_INVITE_TOKEN"}}"{{range $key, $value := .Env}}
        - {{$key}}="{{$value}}"{{end}}

Have I made any mistakes in the template?

the waypoint.hcl

project = "example-nodejs"

app "example-nodejs" {
  labels = {
    "service" = "example-nodejs",
    "env" = "dev"
  }

  build {
    use "pack" {}
  }

  deploy { 
    use "exec" {
      command = ["docker-compose", "-f", "<TPL>", "up"]
      template {
        path = "./docker-compose-template.yml"
      }
    }
  }
}

The logs

Deploying...
✓ Rendering templates...
⠸ Executing command: docker-compose -f /tmp/waypoint-exec698421697/docker-compose-template.yml up
 │ example    | 2020-10-19T12:15:08.305Z [TRACE] connection state: state=TRANSIENT_
 │ FAILURE
 │ example    | 2020-10-19T12:15:10.055Z [TRACE] connection state: state=CONNECTING
 │ example    | 2020-10-19T12:15:10.056Z [TRACE] connection state: state=TRANSIENT_
 │ FAILURE
 │ example    | 2020-10-19T12:15:12.352Z [TRACE] connection state: state=TRANSIENT_
 │ FAILURE
 │ example    | 2020-10-19T12:15:17.069Z [TRACE] connection state: state=TRANSIENT_
 │ FAILURE

Have I made any mistakes in the template or some other mistake somewhere else?
Thank you for the help in advance.