cvat-aws-all.yaml [718:746]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          Name: cvat-ui-container
      Memory: '512'
      TaskRoleArn: !GetAtt EcsTaskRole.Arn
      Family: cvat-ui-task
      RequiresCompatibilities:
      - FARGATE
      NetworkMode: awsvpc
      Cpu: '256'

  ServerlessTaskDefinition: 
    Type: AWS::ECS::TaskDefinition
    Properties:
      ExecutionRoleArn: !GetAtt EcsTaskRole.Arn
      ContainerDefinitions:
        - LogConfiguration:
            LogDriver: awslogs
            Options:
              awslogs-group: !Ref LogGroup
              awslogs-region: !Ref AWS::Region
              awslogs-stream-prefix: ecs
          PortMappings:
          - HostPort: 8070
            Protocol: tcp
            ContainerPort: 8070
          Environment:
            - Name: SERVERLESS_SAGEMAKER_ENDPOINT
              Value: !GetAtt CvatSagemakerEndpoint.EndpointName
            - Name: ALLOWED_HOSTS
              Value: '*'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cvat-aws-ap-northeast-1-all.yaml [718:746]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          Name: cvat-ui-container
      Memory: '512'
      TaskRoleArn: !GetAtt EcsTaskRole.Arn
      Family: cvat-ui-task
      RequiresCompatibilities:
      - FARGATE
      NetworkMode: awsvpc
      Cpu: '256'

  ServerlessTaskDefinition: 
    Type: AWS::ECS::TaskDefinition
    Properties:
      ExecutionRoleArn: !GetAtt EcsTaskRole.Arn
      ContainerDefinitions:
        - LogConfiguration:
            LogDriver: awslogs
            Options:
              awslogs-group: !Ref LogGroup
              awslogs-region: !Ref AWS::Region
              awslogs-stream-prefix: ecs
          PortMappings:
          - HostPort: 8070
            Protocol: tcp
            ContainerPort: 8070
          Environment:
            - Name: SERVERLESS_SAGEMAKER_ENDPOINT
              Value: !GetAtt CvatSagemakerEndpoint.EndpointName
            - Name: ALLOWED_HOSTS
              Value: '*'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



