Files
pygreeting/task-definition-rev1.json
Fabio Scotto di Santolo 11afc7a4ac import code
2025-06-10 21:42:42 +02:00

49 lines
1.3 KiB
JSON

{
"family": "pygreeting",
"containerDefinitions": [
{
"name": "pygreeting",
"image": "public.ecr.aws/t5q0y5r5/pygreeting:latest",
"cpu": 0,
"portMappings": [
{
"name": "pygreeting-5000-tcp",
"containerPort": 5000,
"hostPort": 5000,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"healthCheck": {
"command": [
"CMD-SHELL",
"curl --location 'localhost:5000/health' || exit 1"
],
"interval": 30,
"timeout": 5,
"retries": 3
},
"systemControls": []
}
],
"volumes": [],
"placementConstraints": [],
"networkMode": "awsvpc",
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "1024",
"memory": "3072",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
},
"enableFaultInjection": false
}