blob: c8a45752cfe1c94010ef3bc853d3e901df16bf59 [file] [log] [blame]
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}