From d306adcf9a56afd5ae0b87f6564aa284dc2bbde6 Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Sat, 27 Jan 2024 13:40:48 -0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20datadog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit added container --- .aws/task_definition_preview.json | 108 ++++++++++++++---------------- 1 file changed, 51 insertions(+), 57 deletions(-) diff --git a/.aws/task_definition_preview.json b/.aws/task_definition_preview.json index c5f1df54f..76da3048b 100644 --- a/.aws/task_definition_preview.json +++ b/.aws/task_definition_preview.json @@ -64,72 +64,67 @@ } }, { - "containerDefinitions": [ + "name": "datadog-agent", + "image": "public.ecr.aws/datadog/agent:latest", + "cpu": 100, + "memory": 512, + "essential": true, + "portMappings": [ { - "name": "datadog-agent", - "image": "public.ecr.aws/datadog/agent:latest", - "cpu": 100, - "memory": 512, - "essential": true, - "portMappings": [ - { - "hostPort": 8126, - "protocol": "tcp", - "containerPort": 8126 - } - ], - "mountPoints": [ - { - "containerPath": "/var/run/docker.sock", - "sourceVolume": "docker_sock", - "readOnly": null - }, - { - "containerPath": "/host/sys/fs/cgroup", - "sourceVolume": "cgroup", - "readOnly": null - }, - { - "containerPath": "/host/proc", - "sourceVolume": "proc", - "readOnly": null - } - ], - "environment": [ - { - "name": "DD_SITE", - "value": "datadoghq.com" - } - ], - "environmentFiles": [ - { - "value": "arn:aws:s3:::quivr-env-variables/preview.env", - "type": "s3" - } - ] + "hostPort": 8126, + "protocol": "tcp", + "containerPort": 8126 } ], - "volumes": [ + "mountPoints": [ { - "host": { - "sourcePath": "/var/run/docker.sock" - }, - "name": "docker_sock" + "containerPath": "/var/run/docker.sock", + "sourceVolume": "docker_sock", + "readOnly": null }, { - "host": { - "sourcePath": "/proc/" - }, - "name": "proc" + "containerPath": "/host/sys/fs/cgroup", + "sourceVolume": "cgroup", + "readOnly": null }, { - "host": { - "sourcePath": "/sys/fs/cgroup/" - }, - "name": "cgroup" + "containerPath": "/host/proc", + "sourceVolume": "proc", + "readOnly": null } ], - "family": "datadog-agent-task" + "environment": [ + { + "name": "DD_SITE", + "value": "datadoghq.com" + } + ], + "environmentFiles": [ + { + "value": "arn:aws:s3:::quivr-env-variables/preview.env", + "type": "s3" + } + ] + } + ], + "volumes": [ + { + "host": { + "sourcePath": "/var/run/docker.sock" + }, + "name": "docker_sock" + }, + { + "host": { + "sourcePath": "/proc/" + }, + "name": "proc" + }, + { + "host": { + "sourcePath": "/sys/fs/cgroup/" + }, + "name": "cgroup" } ], "family": "quivr-preview", @@ -137,7 +132,6 @@ "executionRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole", "networkMode": "awsvpc", "revision": 4, - "volumes": [], "status": "ACTIVE", "requiresAttributes": [ {