deploy/build-templates/ic/ic.yaml (23 lines of code) (raw):
# Copyright 2019 Google LLC
#
# 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.
runtime: custom
env: flex
service: "ic${YOUR_ENVIRONMENT}"
env_variables:
# Service type: dam or ic
TYPE: "ic"
# Service name: "ic" with an optional environment to distinguish between instances,
# which typically matches the "service" field above.
SERVICE_NAME: "ic${YOUR_ENVIRONMENT}"
# Project id
PROJECT: "${YOUR_PROJECT_ID}"
# Experimental mode features are turned on if set to 'true'. Not for use with production systems.
EXPERIMENTAL: "${EXPERIMENTAL}"
beta_settings:
# Pass CloudSQL instance to GAE
cloud_sql_instances: ${YOUR_PROJECT_ID}:us-central1:hydra=tcp:1234
liveness_check:
path: "/liveness_check"
check_interval_sec: 30
timeout_sec: 4
failure_threshold: 2
success_threshold: 2
readiness_check:
path: "/liveness_check"
check_interval_sec: 5
timeout_sec: 4
failure_threshold: 2
success_threshold: 2
app_start_timeout_sec: 300