Skip to content

Commit

Permalink
Add redis to task definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Mar 1, 2021
1 parent 8284e88 commit 2c8e43a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions deploy/task-definition-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
{
"name": "REDIS_HOST",
"value": "redis"
"value": "ec2-user_redis_1"
}
],
"mountPoints": [],
Expand All @@ -48,7 +48,21 @@
"awslogs-region": "${AWS_REGION}",
"awslogs-create-group": "true"
}
}
},
"links": ["redis"]
},
{
"portMappings": [
{
"protocol": "tcp",
"containerPort": 6379
}
],
"cpu": 0,
"memory": 32,
"image": "redis",
"essential": true,
"name": "redis"
}
]
}

0 comments on commit 2c8e43a

Please sign in to comment.