Sha256: f8af81f2e5fa5bf2620ba57c8dfb2f9079329f2e073beac083dbbfb20df0c720

Contents?: true

Size: 835 Bytes

Versions: 9

Compression:

Stored size: 835 Bytes

Contents

# Template setup of the GVC, roughly corresponding to a Heroku app
kind: gvc
name: {{APP_NAME}}
spec:
  # For using templates for test apps, put ENV values here, stored in git repo.
  # Production apps will have values configured manually after app creation.
  env:
    - name: DATABASE_URL
      # Password does not matter because host postgres.{{APP_NAME}}.cpln.local can only be accessed
      # locally within CPLN GVC, and postgres running on a CPLN workload is something only for a
      # test app that lacks persistence.
      value: 'postgres://the_user:the_password@postgres.{{APP_NAME}}.cpln.local:5432/{{APP_NAME}}'
    - name: RAILS_ENV
      value: production
    - name: RAILS_SERVE_STATIC_FILES
      value: 'true'

  # Part of standard configuration
  staticPlacement:
    locationLinks:
      - {{APP_LOCATION_LINK}}

Version data entries

9 entries across 9 versions & 2 rubygems

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