Anyone with experience troubleshooting AWS Deployment issues with Elastic Beanstalk for Rasa? [Solved]

try something like this:

     {
      "AWSEBDockerrunVersion": 2,
      "containerDefinitions": [
        {
          "name": "rasa",
          "image": "rasa/rasa:latest-full",
          "essential": true,
          "memory": 900,
          "memoryReservation": 300,
          "command": [
            "run",
            "--log-file",
            "serverlog.log",
            "-vv"
          ],
          "mountPoints": [
            {
              "containerPath": "/app",
              "sourceVolume": "Rasa"
            }
          ],
          "portMappings": [
            {
              "containerPort": 5005,
              "hostPort": 80
            }
          ],
          "links": [
            "action_server"
          ]
        },
        {
          "name": "action_server",
          "image": "rasa/rasa-sdk:latest",
          "essential": true,
          "memory": 90,
          "memoryReservation": 30,
          "mountPoints": [
            {
              "containerPath": "/app/actions",
              "sourceVolume": "Actions"
            }
          ],
          "portMappings": [
            {
              "containerPort": 5055,
              "hostPort": 5055
            }
          ]
        }
      ],
      "volumes": [
        {
          "host": {
            "sourcePath": "/var/app/current"
          },
          "name": "Rasa"
        },
        {
          "host": {
            "sourcePath": "/var/app/current/actions"
          },
          "name": "Actions"
        }
      ]
    }
1 Like