tragait | 9bbcb1b | 2020-02-24 16:33:50 +0000 | [diff] [blame] | 1 | version: '3' |
| 2 | |
| 3 | services: |
| 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} |