Skip to content
Snippets Groups Projects
app.yaml 1.12 KiB
Newer Older
  • Learn to ignore specific revisions
  • David Diederich's avatar
    David Diederich committed
    # Copyright 2017-2019, Schlumberger
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #      http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    service: os-indexer
    
    runtime: java
    env: flex
    
    runtime_config:
      jdk: openjdk8
    
    api_version: 1
    threadsafe: yes
    
    resources:
      cpu: 1
      memory_gb: 2.4
      disk_size_gb: 10
    
    handlers:
      - url: /.*
        script: this field is required, but ignored
    
    env_variables:
      GOOGLE_CLOUD_PROJECT: "GOOGLE_CLOUD_PROJECT_PLACE_HOLDER"
      AUTHORIZE_API: "AUTHORIZE_API_VAR"
      CRON_JOB_IP: "CRON_JOB_IP_VAR"
      LEGAL_HOSTNAME: "LEGAL_HOSTNAME_VAR"
      REGION: "REGION_VAR"
      SPRING_PROFILES_ACTIVE: 'ENVIRONMENT'
    
      SECURITY_HTTPS_CERTIFICATE_TRUST: 'SECURITY_HTTPS_CERTIFICATE_TRUST_VAR'