Support cloud-owner input param
[sdnc/oam.git] / installation / src / main / yaml / docker-compose.yml
1 version: '2.1'
2
3 networks:
4   default:
5     driver: bridge
6     driver_opts:
7       com.docker.network.driver.mtu: ${MTU}
8
9
10 services:
11   db:
12     image: mysql/mysql-server:5.6
13     container_name: sdnc_db_container
14     ports:
15       - "3306"
16     environment:
17       - MYSQL_ROOT_PASSWORD=openECOMP1.0
18       - MYSQL_ROOT_HOST=%
19     logging:
20       driver:   "json-file"
21       options:
22         max-size: "30m"
23         max-file: "5"
24
25   ansible:
26     image: onap/sdnc-ansible-server-image:latest
27     depends_on :
28       - db
29     container_name: sdnc_ansible_container
30     entrypoint: ["/opt/onap/ccsdk/startAnsibleServer.sh"]
31     ports:
32       - "8000"
33     links:
34       - db:dbhost
35       - db:sdnctldb01
36       - db:sdnctldb02
37     environment:
38       - MYSQL_ROOT_PASSWORD=openECOMP1.0
39     logging:
40       driver:   "json-file"
41       options:
42         max-size: "30m"
43         max-file: "5"
44
45   sdnc:
46     image: onap/sdnc-image:latest
47     depends_on :
48       - db
49       - ansible
50     container_name: sdnc_controller_container
51     entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"]
52     ports:
53       - "8282:8181"
54     links:
55       - db:dbhost
56       - db:sdnctldb01
57       - db:sdnctldb02
58       - ansible:ansiblehost
59     environment:
60       - MYSQL_ROOT_PASSWORD=openECOMP1.0
61       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
62       - SDNC_BIN=/opt/onap/sdnc/bin
63       - ODL_CERT_DIR=/tmp
64       - ODL_ADMIN_USERNAME=admin
65       - ODL_ADMIN_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
66     dns:
67       - ${DNS_IP_ADDR-10.0.100.1}
68     logging:
69       driver:   "json-file"
70       options:
71         max-size: "30m"
72         max-file: "5"
73     extra_hosts:
74         aaf.osaaf.org: 10.12.6.214
75
76
77   web:
78     image: onap/admportal-sdnc-image:latest
79     depends_on:
80       - db
81     container_name: sdnc_portal_container
82     entrypoint:
83        - "/bin/bash"
84        - "-c"
85        - "cd /opt/onap/sdnc/admportal/shell && ./start_portal.sh"
86     ports:
87       - "8843:8843"
88       - "8443:8443"
89     links:
90       - db:dbhost
91       - db:sdnctldb01
92       - db:sdnctldb02
93       - sdnc:sdnhost
94     environment:
95       - MYSQL_ROOT_PASSWORD=openECOMP1.0
96       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
97       - CERT_PSWD=onap3.0
98     logging:
99       driver:   "json-file"
100       options:
101         max-size: "30m"
102         max-file: "5"
103
104
105   dgbuilder:
106     image: onap/ccsdk-dgbuilder-image:latest
107     depends_on:
108       - db
109     container_name:  sdnc_dgbuilder_container
110     entrypoint:
111        - "/bin/bash"
112        - "-c"
113        - "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"
114     ports:
115       - "3000:3100"
116     links:
117       - db:dbhost
118       - db:sdnctldb01
119       - db:sdnctldb02
120       - sdnc:sdnhost
121     environment:
122       - MYSQL_ROOT_PASSWORD=openECOMP1.0
123       - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
124     logging:
125       driver:   "json-file"
126       options:
127         max-size: "30m"
128         max-file: "5"
129
130   ueblistener:
131     image: onap/sdnc-ueb-listener-image:latest
132     depends_on:
133       - db
134     container_name:  sdnc_ueblistener_container
135     entrypoint: ["/opt/onap/sdnc/ueb-listener/bin/start-ueb-listener.sh" ]
136     links:
137       - db:dbhost
138       - db:sdnctldb01
139       - db:sdnctldb02
140       - sdnc:sdnhost
141     environment:
142       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
143       - PROPERTY_DIR=/opt/onap/sdnc/data/properties
144     logging:
145       driver:   "json-file"
146       options:
147         max-size: "30m"
148         max-file: "5"
149
150   dmaaplistener:
151     image: onap/sdnc-dmaap-listener-image:latest
152     depends_on:
153       - db
154     container_name:  sdnc_dmaaplistener_container
155     entrypoint: ["/opt/onap/sdnc/dmaap-listener/bin/start-dmaap-listener.sh" ]
156     links:
157       - db:dbhost
158       - db:sdnctldb01
159       - db:sdnctldb02
160       - sdnc:sdnhost
161     environment:
162       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
163       - PROPERTY_DIR=/opt/onap/sdnc/data/properties
164     logging:
165       driver:   "json-file"
166       options:
167         max-size: "30m"
168         max-file: "5"

© 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