| 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 |
| - ODL_CERT_DIR=/opt/opendaylight/current/certs |
| - ODL_ADMIN_USERNAME=admin |
| - ODL_ADMIN_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 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} |