ODL Neon SR1 upgrade
[appc/deployment.git] / docker-compose / docker-compose.yml
1 version: '2'
2
3 networks:
4   default:
5     driver: bridge
6     driver_opts:
7       com.docker.network.driver.mtu: ${MTU}
8
9 services:
10   db:
11     image: mysql/mysql-server:5.6
12     container_name: sdnc_db_container
13     ports:
14       - "3306"
15     environment:
16       - MYSQL_ROOT_PASSWORD=openECOMP1.0
17       - MYSQL_ROOT_HOST=%
18     logging:
19       driver: "json-file"
20       options:  
21         max-size: "30m"
22         max-file: "5"
23
24 # Tweaking SDNC_CONFIG_DIR temporarily from ../sdnc/.. to ../appc/.. since it may be needed in this script
25 #    to map to SDN-C AAI Service Bundle's AAI Activator class inside the gerrit sdnc/adaptors repo, so that
26 #    the AAI Service bundle loads APP-C's aaiclient.properties instead of SDN-C's aaiclient.properties.
27   appc:
28     image: "openecomp/appc-image:latest"
29     depends_on :
30       - db
31     container_name: appc_controller_container
32     entrypoint: ["/opt/openecomp/appc/bin/startODL.sh"]
33     ports:
34       - "8282:8181"
35       - "1830:1830"
36     links:
37       - db:dbhost
38       - db:sdnctldb01
39       - db:sdnctldb02
40     environment:
41       - MYSQL_ROOT_PASSWORD=openECOMP1.0
42       - SDNC_CONFIG_DIR=/opt/openecomp/appc/data/properties
43       - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties
44       - DMAAP_TOPIC_ENV=SUCCESS
45     logging:
46       driver: "json-file"
47       options:
48         max-size: "30m"
49         max-file: "5"
50
51
52   dgbuilder:
53     image: "onap/ccsdk-dgbuilder-image:latest"
54     depends_on:
55       - db
56     container_name: sdnc_dgbuilder_container
57     entrypoint:
58        - "/bin/bash"
59        - "-c"
60        - "cd /opt/onap/sdnc/dgbuilder/ && ./start.sh sdnc1.0 && wait"
61     ports:
62       - "3000:3100"
63     links:
64       - db:dbhost
65       - db:sdnctldb01
66       - db:sdnctldb02
67       - appc:sdnhost
68     environment:
69       - MYSQL_ROOT_PASSWORD=openECOMP1.0
70       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
71     logging:
72       driver: "json-file"
73       options:
74         max-size: "30m"
75         max-file: "5"
76

© 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