summaryrefslogtreecommitdiffstats
path: root/plans/usecases/pnf-sw-upgrade/sdn/docker-compose.yml
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2020-03-26 13:22:53 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-26 13:22:53 +0000
commit0f8f41ceb38ffc8cecaadc3b98fb91d7304710e4 (patch)
treeee2a2d2239979f0b83b95462f9df52b9368dad3f /plans/usecases/pnf-sw-upgrade/sdn/docker-compose.yml
parentdeeaf11154867ea38ce406f90ea161a36e2d1004 (diff)
parent9bbcb1be8d83cca5ba97dc4a2e86c525e51991e5 (diff)
Merge "pnf sw upgrade csit"
Diffstat (limited to 'plans/usecases/pnf-sw-upgrade/sdn/docker-compose.yml')
-rwxr-xr-xplans/usecases/pnf-sw-upgrade/sdn/docker-compose.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/plans/usecases/pnf-sw-upgrade/sdn/docker-compose.yml b/plans/usecases/pnf-sw-upgrade/sdn/docker-compose.yml
new file mode 100755
index 00000000..c8a45752
--- /dev/null
+++ b/plans/usecases/pnf-sw-upgrade/sdn/docker-compose.yml
@@ -0,0 +1,29 @@
+version: '3'
+
+services:
+ sdnc:
+ image: onap/sdnc-image:latest
+ container_name: sdnc
+ volumes:
+ - /etc/localtime:/etc/localtime:ro
+ - $SDNC_CERT_PATH:/opt/opendaylight/current/certs
+ entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"]
+ ports:
+ - "8282:8181"
+ hostname:
+ sdnc
+ environment:
+ - MYSQL_ROOT_PASSWORD=password
+ - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
+ - MYSQL_PASSWD=password
+ dns:
+ - ${DNS_IP_ADDR-10.0.100.1}
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
+ extra_hosts:
+ - sdnctldb02:${LOCAL_IP}
+ - sdnctldb01:${LOCAL_IP}
+ - dbhost:${LOCAL_IP} \ No newline at end of file