blob: c8a45752cfe1c94010ef3bc853d3e901df16bf59 [file] [log] [blame]
tragait9bbcb1b2020-02-24 16:33:50 +00001version: '3'
2
3services:
4 sdnc:
5 image: onap/sdnc-image:latest
6 container_name: sdnc
7 volumes:
8 - /etc/localtime:/etc/localtime:ro
9 - $SDNC_CERT_PATH:/opt/opendaylight/current/certs
10 entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"]
11 ports:
12 - "8282:8181"
13 hostname:
14 sdnc
15 environment:
16 - MYSQL_ROOT_PASSWORD=password
17 - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
18 - MYSQL_PASSWD=password
19 dns:
20 - ${DNS_IP_ADDR-10.0.100.1}
21 logging:
22 driver: "json-file"
23 options:
24 max-size: "30m"
25 max-file: "5"
26 extra_hosts:
27 - sdnctldb02:${LOCAL_IP}
28 - sdnctldb01:${LOCAL_IP}
29 - dbhost:${LOCAL_IP}