blob: 5717b7d9af824dbb2d63360dbecc13e2e426a4f9 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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.
version: '2.1'
services:
oap:
extends:
file: ../../../../base/base-compose.yml
service: oap
ports:
- 12800:12800
rover:
extends:
file: ../../../../base/base-compose.yml
service: rover
depends_on:
oap:
condition: service_healthy
environment:
ROVER_PROCESS_DISCOVERY_SCAN_MODE: "REGEX"
ROVER_PROCESS_DISCOVERY_REGEX_SCANNER_MATCH_CMD: sqrt
ROVER_PROCESS_DISCOVERY_REGEX_SCANNER_LAYER: OS_LINUX
ROVER_PROCESS_DISCOVERY_REGEX_SCANNER_SERVICE_NAME: test-continuous
ROVER_PROCESS_DISCOVERY_REGEX_SCANNER_INSTANCE_NAME: test-instance
ROVER_PROCESS_DISCOVERY_REGEX_SCANNER_PROCESS_NAME: "{{.Process.ExeName}}"
ROVER_PROCESS_DISCOVERY_REGEX_SCANNER_LABELS: ""
continuous_process_cpu:
build:
context: .
dockerfile: Dockerfile
networks:
- e2e
networks:
e2e: