Update odlsli image name
[ccsdk/distribution.git] / src / main / yaml / docker-compose.yml
1 version: '2'
2
3 services:
4   db:
5     image: mysql/mysql-server:5.6
6     container_name: ccsdk_db_container
7     ports:
8       - "3306"
9     environment:
10       - MYSQL_ROOT_PASSWORD=openECOMP1.0
11       - MYSQL_ROOT_HOST=%
12     logging:       
13       driver:   "json-file"
14       options:  
15         max-size: "30m"
16         max-file: "5"
17   
18       
19   odlsli:
20     image: ${NEXUS_DOCKER_REPO}/onap/ccsdk-odlsli-alpine-image:${CCSDK_DOCKER_IMAGE_VERSION}
21     depends_on :
22       - db
23     container_name: ccsdk_odlsli_container
24     entrypoint: ["/opt/onap/ccsdk/bin/startODL.sh"]
25     ports:
26       - "8383:8181"
27     links:
28       - db:dbhost
29       - db:sdnctldb01
30       - db:sdnctldb02
31     environment:
32       - MYSQL_ROOT_PASSWORD=openECOMP1.0
33       - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
34     logging:       
35       driver:   "json-file"
36       options:  
37         max-size: "30m"
38         max-file: "5"
39   
40   dgbuilder:
41     image: ${NEXUS_DOCKER_REPO}/onap/ccsdk-dgbuilder-image:${CCSDK_DOCKER_IMAGE_VERSION}
42     depends_on:
43       - db
44     container_name:  ccsdk_dgbuilder_container
45     entrypoint:
46        - "/bin/bash"
47        - "-c"
48        - "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"
49     ports:
50       - "3000:3100"
51     links:
52       - db:dbhost
53       - db:sdnctldb01
54       - db:sdnctldb02
55       - odlsli:sdnhost
56     environment:
57       - MYSQL_ROOT_PASSWORD=openECOMP1.0
58       - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
59     logging:       
60       driver:   "json-file"
61       options:  
62         max-size: "30m"
63         max-file: "5"
64   
65   

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use