73db42c3d76d3d66c273c8455cb47c3669dfbf29
[oam.git] / solution / dev / ves-test-collector / docker-compose.yml
1 ################################################################################
2 #
3 # Copyright 2019 highstreet technologies GmbH and others
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8
9 #     http://www.apache.org/licenses/LICENSE-2.0
10
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17 version: "3.3"
18
19 services:
20   vesTestCollectorV7:
21     image: ${VES_DOCKER_REPO}${VES_TEST_COLLECTOR_IMAGE_NAME}:${VES_TEST_COLLECTOR_IMAGE_TAG}
22     container_name: ves-test-collector-v${VES_API}
23     ports:
24       - "3000${VES_API}:30000"
25     environment:
26       - VES_API=${VES_API}
27     volumes:
28      - /var/tmp/ves-v${VES_API}/logs:/VES5.0/evel/evel-test-collector/logs
29      - type: bind
30        source: ./resources/${VES_FORMAT_FILE}
31        target: /VES5.0/evel/evel-test-collector/docs/att_interface_definition/event_format_updated.json
32      - type: bind
33        source: ./resources/go-collector.sh
34        target: /VES5.0/evel/evel-test-collector/scripts/linux/go-collector.sh
35     logging:
36       driver: "json-file"
37       options:
38         max-size: "30m"
39         max-file: "5"