I haven’t, no. Here’s a Dockerrun.aws.json
with the latest release.
{
"AWSEBDockerrunVersion": 2,
"containerDefinitions": [
{
"name": "rasa",
"image": "rasa/rasa:1.9.5",
"essential": true,
"memoryReservation": 400,
"command": [
"run",
"--log-file",
"/logs/rasa.log"
],
"mountPoints": [
{
"containerPath": "/app",
"sourceVolume": "App"
},
{
"containerPath": "/logs",
"sourceVolume": "awseb-logs-rasa"
}
],
"portMappings": [
{
"containerPort": 5005,
"hostPort": 80
}
],
"links": [
"action-server",
"duckling"
]
},
{
"name": "action-server",
"image": "rasa/rasa-sdk:1.9.0",
"essential": true,
"memoryReservation": 100,
"command": [
"start",
"--actions",
"actions"
],
"mountPoints": [
{
"containerPath": "/app/actions",
"sourceVolume": "Actions"
}
],
"portMappings": [
{
"containerPort": 5055,
"hostPort": 5055
}
]
},
{
"name": "duckling",
"image": "rasa/duckling:latest",
"essential": true,
"memoryReservation": 100,
"portMappings": [
{
"containerPort": 8000,
"hostPort": 8000
}
]
}
],
"volumes": [
{
"host": {
"sourcePath": "/var/app/current"
},
"name": "App"
},
{
"host": {
"sourcePath": "/var/app/current/actions"
},
"name": "Actions"
}
]
}
Note: you’ll need a
.ebextensions/
directory in your project root with 2 files for this to work.
.ebextensions/elb-listener.config
option_settings:
aws:elb:listener:80:
ListenerProtocol: HTTP
InstanceProtocol: HTTP
InstancePort: 80
.ebextensions/elb-ingress.config
Resources:
port80SecurityGroupIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]}
IpProtocol: tcp
ToPort: 80
FromPort: 80
SourceSecurityGroupName: { "Fn::GetAtt": ["AWSEBLoadBalancer", "SourceSecurityGroup.GroupName"] }