blob: db0ddc6354ee3ef90e87d856840a38a17e0b60ea [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
efiacor125390b2020-05-06 01:14:00 +010019 - ODL_CERT_DIR=/opt/opendaylight/current/certs
20 - ODL_ADMIN_USERNAME=admin
21 - ODL_ADMIN_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
tragait9bbcb1b2020-02-24 16:33:50 +000022 dns:
23 - ${DNS_IP_ADDR-10.0.100.1}
24 logging:
25 driver: "json-file"
26 options:
27 max-size: "30m"
28 max-file: "5"
29 extra_hosts:
30 - sdnctldb02:${LOCAL_IP}
31 - sdnctldb01:${LOCAL_IP}
32 - dbhost:${LOCAL_IP}