yohobuy-pc-template.json 1.54 KB
{
  "containerDefinitions": [
    {
      "logConfiguration": {
        "logDriver": "awslogs",
        "options": {
          "awslogs-group": "yohobuy-log",
          "awslogs-region": "cn-north-1",
          "awslogs-stream-prefix": "awslogs-example"
        }
      },
      "portMappings": [
        {
          "hostPort": 6002,
          "protocol": "tcp",
          "containerPort": 6002
        }
      ],
      "cpu": 300,
      "environment": [
        {
          "name": "NODE_ENV",
          "value": "production"
        }
      ],
      "mountPoints": [],
      "memoryReservation": 400,
      "volumesFrom": [],
      "image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/%IMAGE_VERSION%",
      "name": "yohobuy-pc"
    },
    {
      "logConfiguration": {
        "logDriver": "awslogs",
        "options": {
          "awslogs-group": "yohobuy-log",
          "awslogs-region": "cn-north-1",
          "awslogs-stream-prefix": "awslogs-example"
        }
      },
      "portMappings": [
        {
          "hostPort": 80,
          "protocol": "tcp",
          "containerPort": 80
        }
      ],
      "cpu": 400,
      "environment": [],
      "mountPoints": [],
      "memoryReservation": 300,
      "volumesFrom": [],
      "image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/yoho-online/yohobuy-pc-nginx:latest",
      "essential": true,
      "name": "yohobuy-pc-nginx"
    }
  ],
  "memory": "1800",
  "taskRoleArn": "",
  "family": "yohobuy-pc",
  "networkMode": "awsvpc",
  "cpu": "900",
  "volumes": [],
  "placementConstraints": []
}