go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/logdog/appengine/cmd/coordinator/static/module-static.yaml (about)

     1  # Copyright 2017 The LUCI Authors.
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #      http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  
    15  service: static
    16  runtime: go121
    17  
    18  luci_gae_vars:
    19    luci-logdog-dev:
    20      TS_MON_ACCOUNT: app-engine-metric-publishers@prodx-mon-chrome-infra.google.com.iam.gserviceaccount.com
    21  
    22  env_variables:
    23    TS_MON_ACCOUNT: ${TS_MON_ACCOUNT}
    24  
    25  # This is necessary for "switch" command. There is no corresponding support in
    26  # the static app.
    27  inbound_services:
    28    - warmup
    29  
    30  handlers:
    31    # Handlers for misc resources, used for Plain-text log viewer.
    32  - url: /static
    33    static_dir: static
    34    secure: always
    35  
    36  entrypoint: >
    37    main
    38    -ts-mon-account ${TS_MON_ACCOUNT}