From 4745d7a3158598bbec76d39d4bee9d2f6e8c58cc Mon Sep 17 00:00:00 2001 From: Nayan Deshmukh Date: Tue, 20 Jun 2017 09:46:24 +0900 Subject: Fix dns server in sdnc_controller_container The docker container should use the dns-server vm to resolve queries For details see: https://wiki.onap.org/questions/6592641 Change-Id: I9b1c09b287796eb4d01de632b0a2a9a0b5047ae8 Signed-off-by: Nayan Deshmukh Former-commit-id: 8d9836ac944d0659f0b7a5231503433bac655dcc --- installation/src/main/yaml/docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'installation/src/main/yaml') diff --git a/installation/src/main/yaml/docker-compose.yml b/installation/src/main/yaml/docker-compose.yml index bb9acfb2..d3af2dff 100644 --- a/installation/src/main/yaml/docker-compose.yml +++ b/installation/src/main/yaml/docker-compose.yml @@ -1,4 +1,4 @@ -version: '2' +version: '2.1' networks: default: @@ -38,6 +38,8 @@ services: environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties + dns: + - ${DNS_IP_ADDR-10.0.100.1} logging: driver: "json-file" options: -- cgit 1.2.3-korg