yohobuy-wap-template.json 1.8 KB
{
  "containerDefinitions": [
    {
      "logConfiguration": {
        "logDriver": "awslogs",
        "options": {
          "awslogs-group": "yohobuywap-log",
          "awslogs-region": "cn-north-1",
          "awslogs-stream-prefix": "yohobuywap"
        }
      },
      "portMappings": [
        {
          "hostPort": 6001,
          "protocol": "tcp",
          "containerPort": 6001
        }
      ],
      "cpu": 400,
      "environment": [
        {
          "name": "NODE_ENV",
          "value": "production"
        }
      ],
      "ulimits": [
        {
          "name": "cpu",
          "softLimit": 300,
          "hardLimit": 400
        }
      ],
      "mountPoints": [],
      "memory": 900,
      "memoryReservation": 700,
      "volumesFrom": [],
      "image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/%IMAGE_VERSION%",
      "essential": true,
      "readonlyRootFilesystem": false,
      "privileged": false,
      "name": "yohobuy-wap"
    },
    {
      "logConfiguration": {
        "logDriver": "awslogs",
        "options": {
          "awslogs-group": "yohobuywap-log",
          "awslogs-region": "cn-north-1",
          "awslogs-stream-prefix": "nginx"
        }
      },
      "portMappings": [
        {
          "hostPort": 80,
          "protocol": "tcp",
          "containerPort": 80
        }
      ],
      "cpu": 300,
      "environment": [],
      "mountPoints": [],
      "memory": 701,
      "memoryReservation": 301,
      "volumesFrom": [],
      "image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/yoho-online/yohobuy-wap-nginx:20190219",
      "essential": true,
      "name": "yohobuy-wap-nginx"
    }
  ],
  "memory": "1800",
  "taskRoleArn": "",
  "family": "yohobuy-wap",
  "networkMode": "awsvpc",
  "cpu": "900",
  "volumes": [],
  "placementConstraints": []
}