version: '2'

services:

  register-with-a-gp:
    scale: 1
    start_on_create: true
    health_check:
      response_timeout: 5000
      healthy_threshold: 2
      port: 3333
      unhealthy_threshold: 3
      initializing_timeout: 60000
      interval: 20000
      strategy: recreate
      request_line: GET "/" "HTTP/1.0"
      reinitializing_timeout: 60000

version: '2'

services:

  register-with-a-gp:
    scale: $INITIAL_CONTAINER_SCALE
    start_on_create: true
    health_check:
      response_timeout: 5000
      healthy_threshold: 2
      port: 3333
      unhealthy_threshold: 3
      initializing_timeout: 60000
      interval: 20000
      strategy: recreate
      request_line: GET "/" "HTTP/1.0"
      reinitializing_timeout: 60000

Allow setting of container scale via ENV var
Allow setting of container scale via ENV var
