Sha256: 40cef68a5045e2ec3e3169b75c6a955cb5a18d7a1523db812bfb6df645678219

Contents?: true

Size: 1.39 KB

Versions: 9

Compression:

Stored size: 1.39 KB

Contents

scheduler:
  type: ecs
  region: ap-northeast-1
  cluster: eagletmt
  desired_count: 2
  role: ecsServiceRole
  # dynamic_port_mapping is enabled by default with elb_v2
  # dynamic_port_mapping: false
  elb_v2:
    # VPC id where the target group is located
    vpc_id: vpc-WWWWWWWW
    # Health check path of the target group
    health_check_path: /site/sha
    listeners:
      - port: 80
        protocol: HTTP
      - port: 443
        protocol: HTTPS
        certificate_arn: arn:aws:iam::012345678901:server-certificate/hello-lb-v2.example.com
    subnets:
      - subnet-XXXXXXXX
      - subnet-YYYYYYYY
    security_groups:
      - sg-ZZZZZZZZ
    load_balancer_attributes:
      access_logs.s3.enabled: 'true'
      access_logs.s3.bucket: hako-access-logs
      access_logs.s3.prefix: hako-hello-lb-v2
    target_group_attributes:
      deregistration_delay.timeout_seconds: '20'
      # http://docs.aws.amazon.com/en_us/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes
app:
  image: ryotarai/hello-sinatra
  memory: 128
  cpu: 256
  env:
    $providers:
      - type: file
        path: hello.env
    PORT: '3000'
    MESSAGE: '#{username}-san'
additional_containers:
  front:
    image_tag: hako-nginx
    memory: 32
    cpu: 32
scripts:
  - <<: !include front.yml
    backend_port: 3000
    locations:
      /:
        allow_only_from:
          - 10.0.0.0/24

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hako-2.0.4 examples/hello-lb-v2.yml
hako-2.0.3 examples/hello-lb-v2.yml
hako-2.0.2 examples/hello-lb-v2.yml
hako-2.0.1 examples/hello-lb-v2.yml
hako-2.0.0 examples/hello-lb-v2.yml
hako-1.9.0 examples/hello-lb-v2.yml
hako-1.8.4 examples/hello-lb-v2.yml
hako-1.8.3 examples/hello-lb-v2.yml
hako-1.8.2 examples/hello-lb-v2.yml