Merge "Add kubevirt to list of EMCO deployed addons"
[multicloud/k8s.git] / deployments / docker-compose.yml
1 # Copyright 2018 Intel Corporation.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #     http://www.apache.org/licenses/LICENSE-2.0
6 # Unless required by applicable law or agreed to in writing, software
7 # distributed under the License is distributed on an "AS IS" BASIS,
8 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9 # See the License for the specific language governing permissions and
10 # limitations under the License.
11
12 version: '3'
13
14 services:
15   multicloud-k8s:
16     image: ${IMAGE_NAME}
17     build:
18       context: ./
19       args:
20         - HTTP_PROXY=${HTTP_PROXY}
21         - HTTPS_PROXY=${HTTPS_PROXY}
22         - NO_PROXY=${NO_PROXY}
23     environment:
24       - HTTP_PROXY=${HTTP_PROXY}
25       - HTTPS_PROXY=${HTTPS_PROXY}
26       - NO_PROXY=${NO_PROXY},mongo
27     depends_on:
28       - mongo
29     network_mode: host
30     volumes:
31       - /opt/csar:/opt/csar
32       - ${PWD}/k8sconfig.json:/opt/multicloud/k8splugin/k8sconfig.json:ro
33   mongo:
34     image: mongo
35     environment:
36       - HTTP_PROXY=${HTTP_PROXY}
37       - HTTPS_PROXY=${HTTPS_PROXY}
38       - NO_PROXY=${NO_PROXY}