Update CCSDK parent pom version to 1.5.1-SNAPSHOT
[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     dns:
63       - ${DNS_IP_ADDR-10.0.100.1}
64     logging:
65       driver:   "json-file"
66       options:
67         max-size: "30m"
68         max-file: "5"
69     extra_hosts:
70         aaf.osaaf.org: 10.12.6.214
71
72
73   web:
74     image: onap/admportal-sdnc-image:latest
75     depends_on:
76       - db
77     container_name: sdnc_portal_container
78     entrypoint:
79        - "/bin/bash"
80        - "-c"
81        - "cd /opt/onap/sdnc/admportal/shell && ./start_portal.sh"
82     ports:
83       - "8843:8843"
84       - "8443:8443"
85     links:
86       - db:dbhost
87       - db:sdnctldb01
88       - db:sdnctldb02
89       - sdnc:sdnhost
90     environment:
91       - MYSQL_ROOT_PASSWORD=openECOMP1.0
92       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
93       - CERT_PSWD=onap3.0
94     logging:
95       driver:   "json-file"
96       options:
97         max-size: "30m"
98         max-file: "5"
99
100
101   dgbuilder:
102     image: onap/ccsdk-dgbuilder-image:latest
103     depends_on:
104       - db
105     container_name:  sdnc_dgbuilder_container
106     entrypoint:
107        - "/bin/bash"
108        - "-c"
109        - "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"
110     ports:
111       - "3000:3100"
112     links:
113       - db:dbhost
114       - db:sdnctldb01
115       - db:sdnctldb02
116       - sdnc:sdnhost
117     environment:
118       - MYSQL_ROOT_PASSWORD=openECOMP1.0
119       - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
120     logging:
121       driver:   "json-file"
122       options:
123         max-size: "30m"
124         max-file: "5"
125
126   ueblistener:
127     image: onap/sdnc-ueb-listener-image:latest
128     depends_on:
129       - db
130     container_name:  sdnc_ueblistener_container
131     entrypoint: ["/opt/onap/sdnc/ueb-listener/bin/start-ueb-listener.sh" ]
132     links:
133       - db:dbhost
134       - db:sdnctldb01
135       - db:sdnctldb02
136       - sdnc:sdnhost
137     environment:
138       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
139       - PROPERTY_DIR=/opt/onap/sdnc/data/properties
140     logging:
141       driver:   "json-file"
142       options:
143         max-size: "30m"
144         max-file: "5"
145
146   dmaaplistener:
147     image: onap/sdnc-dmaap-listener-image:latest
148     depends_on:
149       - db
150     container_name:  sdnc_dmaaplistener_container
151     entrypoint: ["/opt/onap/sdnc/dmaap-listener/bin/start-dmaap-listener.sh" ]
152     links:
153       - db:dbhost
154       - db:sdnctldb01
155       - db:sdnctldb02
156       - sdnc:sdnhost
157     environment:
158       - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
159       - PROPERTY_DIR=/opt/onap/sdnc/data/properties
160     logging:
161       driver:   "json-file"
162       options:
163         max-size: "30m"
164         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