blob: 2087d6049cf2d451037ce31c8772d251fe0e6514 [file] [log] [blame]
Patrick Brady83514252017-02-13 11:57:08 -08001version: '2'
2
ubuntuf76caa72017-05-10 12:53:54 -04003networks:
4 default:
5 driver: bridge
6 driver_opts:
7 com.docker.network.driver.mtu: ${MTU}
8
Patrick Brady83514252017-02-13 11:57:08 -08009services:
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
25 appc:
Patrick Brady0a858642017-03-22 13:13:19 -070026 image: "openecomp/appc-image:latest"
Patrick Brady83514252017-02-13 11:57:08 -080027 depends_on :
28 - db
29 container_name: appc_controller_container
30 entrypoint: ["/opt/openecomp/appc/bin/startODL.sh"]
31 ports:
32 - "8282:8181"
33 - "1830:1830"
34 links:
35 - db:dbhost
36 - db:sdnctldb01
37 - db:sdnctldb02
38 environment:
39 - MYSQL_ROOT_PASSWORD=openECOMP1.0
40 - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties
41 - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties
42 - DMAAP_TOPIC_ENV=SUCCESS
43 logging:
44 driver: "json-file"
45 options:
46 max-size: "30m"
47 max-file: "5"
48
49
50 dgbuilder:
Patrick Brady0a858642017-03-22 13:13:19 -070051 image: "openecomp/dgbuilder-sdnc-image:latest"
Patrick Brady83514252017-02-13 11:57:08 -080052 depends_on:
53 - db
54 container_name: sdnc_dgbuilder_container
55 entrypoint:
56 - "/bin/bash"
57 - "-c"
jwang562bbce32017-04-24 12:48:23 -050058 - "cd /opt/openecomp/sdnc/dgbuilder/ && ./start.sh sdnc1.0 && wait"
Patrick Brady83514252017-02-13 11:57:08 -080059 ports:
60 - "3000:3100"
61 links:
62 - db:dbhost
63 - db:sdnctldb01
64 - db:sdnctldb02
65 - appc:sdnhost
66 environment:
67 - MYSQL_ROOT_PASSWORD=openECOMP1.0
68 - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties
69 - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties
70 logging:
71 driver: "json-file"
72 options:
73 max-size: "30m"
Patrick Bradyac18d4c2017-02-22 12:01:39 -080074 max-file: "5"