summaryrefslogtreecommitdiffstats
path: root/installation/src
diff options
context:
space:
mode:
authorNayan Deshmukh <n.deshmukh@samsung.com>2017-06-20 09:46:24 +0900
committerNayan Deshmukh <n.deshmukh@samsung.com>2017-06-27 09:52:52 +0900
commit4745d7a3158598bbec76d39d4bee9d2f6e8c58cc (patch)
treecb4a59767ac122d573bb14eba42b669a8b4ebb05 /installation/src
parent445531150b2fabd2e13fe9797038611c9117d8cb (diff)
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 <n.deshmukh@samsung.com> Former-commit-id: 8d9836ac944d0659f0b7a5231503433bac655dcc
Diffstat (limited to 'installation/src')
-rw-r--r--installation/src/main/yaml/docker-compose.yml4
1 files changed, 3 insertions, 1 deletions
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: