makes cloud search possible.
This commit is contained in:
62
terraform/prod-cloud-solr-taskdef.json
Normal file
62
terraform/prod-cloud-solr-taskdef.json
Normal file
@@ -0,0 +1,62 @@
|
||||
[
|
||||
{
|
||||
"environment": [
|
||||
{
|
||||
"name": "DD_ENV",
|
||||
"value": "prod-cloud"
|
||||
},
|
||||
{
|
||||
"name": "DD_SERVICE",
|
||||
"value": "solr"
|
||||
}
|
||||
],
|
||||
"essential": true,
|
||||
"image": "solr",
|
||||
|
||||
"logConfiguration": {
|
||||
"logDriver": "awslogs",
|
||||
"options": {
|
||||
"awslogs-group": "/ecs/solr-prod-cloud",
|
||||
"awslogs-region": "us-east-1",
|
||||
"awslogs-stream-prefix": "ecs"
|
||||
}
|
||||
},
|
||||
"dockerLabels": {
|
||||
"com.datadoghq.tags.env": "prod-cloud",
|
||||
"com.datadoghq.tags.service": "solr"
|
||||
},
|
||||
"mountPoints": [],
|
||||
"name": "solr",
|
||||
"portMappings": [
|
||||
{
|
||||
"containerPort": 8983,
|
||||
"hostPort": 8983,
|
||||
"protocol": "tcp"
|
||||
}
|
||||
],
|
||||
"volumesFrom": [],
|
||||
"mountPoints": [
|
||||
{
|
||||
"sourceVolume": "solr-storage",
|
||||
"containerPath": "/var/solr",
|
||||
"readOnly": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"environment": [
|
||||
{
|
||||
"name": "DD_API_KEY",
|
||||
"value": "ce10d932c47b358e81081ae67bd8c112"
|
||||
},
|
||||
{
|
||||
"name": "ECS_FARGATE",
|
||||
"value": "true"
|
||||
}
|
||||
],
|
||||
"essential": true,
|
||||
"image": "public.ecr.aws/datadog/agent:latest",
|
||||
"name": "datadog-agent"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user