Skip to content

Configuration File

Daniel Kang edited this page Oct 23, 2016 · 21 revisions
name: echo
cluster: cluster1
port: 8080                          
cpu: 1.0
memory: 200m
units: 4

env:                                
  key1: value1
  key2: value2

logging:
  type: default                     

load_balancer:
  enabled: true                      
  https: no                         
  port: 80                          
                                    
  health_check:
    interval: 30s                   
    path: "/ping"                   
    status: "200-299"               
    timeout: 5s                     
    healthy_limit: 5
    unhealthy_limit: 2

aws:
  elb_lb_name: echo_lb
  elb_target_name: echo_target
  elb_security_group: sg-123456789
  ecr_namespace: myapps

docker:
  bin: "/usr/local/bin/docker"   

Main Attributes

name

Name of your application.

port

TCP port your application is exposing. If your application does not expose any ports, specify 0.

AWS

elb_name

  • default: "{application-name}-elb"
  • If no ELB Load Balancer found with this name, CLI will create and configure a new one.

elb_target_group_name

  • default: "{application-name}-elb-tg"
  • If no ELB Target Group found with this name, CLI will create and configure a new one.

elb_security_group_name

  • default: "{application-name}-elb-sg"
  • If no EC2 Security Group found with this name, CLI will create and configure a new one.