Sha256: cccfa0bb5131f8d7bc9a62296c9af140532977ff6b9dd1d5a45b49db2f6bee30

Contents?: true

Size: 1.03 KB

Versions: 9

Compression:

Stored size: 1.03 KB

Contents

# Template setup of Rails server workload, roughly corresponding to Heroku dyno
# type within Procfile.
kind: workload
name: rails
spec:
  type: standard
  containers:
    - name: rails
      # 300m is a good starting place for a test app. You can experiment with CPU configuration
      # once your app is running.
      cpu: 300m
      env:
        - name: LOG_LEVEL
          value: debug
      # Inherit other ENV values from GVC
      inheritEnv: true
      image: {{APP_IMAGE_LINK}}
      # 512 corresponds to a standard 1x dyno type
      memory: 512Mi
      ports:
        - number: 3000
          protocol: http
  defaultOptions:
    # Start out like this for "test apps"
    autoscaling:
      # Max of 1 effectively disables autoscaling, so a like a Heroku dyno count of 1
      maxScale: 1
    capacityAI: false
  firewallConfig:
    external:
      # Default to allow public access to Rails server
      inboundAllowCIDR:
        - 0.0.0.0/0
      # Could configure outbound for more security
      outboundAllowCIDR:
        - 0.0.0.0/0

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
cpflow-4.0.1 lib/generator_templates/templates/rails.yml
cpflow-4.0.0 lib/generator_templates/templates/rails.yml
cpflow-3.0.1 lib/generator_templates/templates/rails.yml
cpflow-3.0.0 lib/generator_templates/templates/rails.yml
cpl-2.2.4 lib/generator_templates/templates/rails.yml
cpl-2.2.2 lib/generator_templates/templates/rails.yml
cpl-2.2.1 lib/generator_templates/templates/rails.yml
cpl-2.2.0 lib/generator_templates/templates/rails.yml
cpl-1.4.0 lib/generator_templates/templates/rails.yml