# ================================================================================== # Copyright (c) 2019 Nokia # Copyright (c) 2018-2019 AT&T Intellectual Property. # # 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. # ================================================================================== version: '3' services: rmr_receiver: build: . hostname: "rmr_receiver" volumes: - ./test_docker.rt:/opt/route/local.rt rmr_delay_receiver: build: . hostname: "rmr_delay_receiver" volumes: - ./test_docker.rt:/opt/route/local.rt environment: # https://github.com/docker/compose/issues/3878 RMR_RCV_RETRY_INTERVAL: 500 RMR_RETRY_TIMES: 10 TEST_RCV_PORT: 4563 TEST_RCV_RETURN_MINT: 10001 TEST_RCV_SEC_DELAY: 5 TEST_RCV_RETURN_PAYLOAD: '{"ACK_FROM": "DELAYED_TEST", "status": "SUCCESS"}' # bombarder: # build: # context: . # dockerfile: Dockerfile-Bombard # hostname: "bombarder" # volumes: # - /tmp/local.rt:/opt/route/local.rt # environment: # BOMBARD_DELAY_MS: 100 # a1: image: a1:latest build: context: .. hostname: "a1" volumes: - ./test_docker.rt:/opt/route/local.rt - ./../tests/fixtures/ricmanifest.json:/opt/ricmanifest.json - ./../tests/fixtures/rmr_string_int_mapping.txt:/opt/rmr_string_int_mapping.txt ports: - "10000:10000" environment: RMR_RCV_RETRY_INTERVAL: 500 RMR_RETRY_TIMES: 20