blob: f95a5fed5820a263a546eded6b1e9bdb8eff9a0b [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=%
Hector Anapand8094742017-08-10 03:25:53 -050018 logging:
19 driver: "json-file"
Patrick Brady83514252017-02-13 11:57:08 -080020 options:
21 max-size: "30m"
22 max-file: "5"
Hector Anapand8094742017-08-10 03:25:53 -050023
Hector Anapan249b2c02017-08-16 14:56:54 -040024# 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.
Patrick Brady83514252017-02-13 11:57:08 -080027 appc:
Patrick Brady0a858642017-03-22 13:13:19 -070028 image: "openecomp/appc-image:latest"
Patrick Brady83514252017-02-13 11:57:08 -080029 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
Hector Anapan249b2c02017-08-16 14:56:54 -040042 - SDNC_CONFIG_DIR=/opt/openecomp/appc/data/properties
Patrick Brady83514252017-02-13 11:57:08 -080043 - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties
44 - DMAAP_TOPIC_ENV=SUCCESS
45 logging:
Hector Anapand8094742017-08-10 03:25:53 -050046 driver: "json-file"
Patrick Brady83514252017-02-13 11:57:08 -080047 options:
48 max-size: "30m"
49 max-file: "5"
Hector Anapand8094742017-08-10 03:25:53 -050050
51
Patrick Brady83514252017-02-13 11:57:08 -080052 dgbuilder:
Victor Morales97a6a9a2017-09-14 12:05:13 -070053 image: "onap/ccsdk-dgbuilder-image:latest"
Patrick Brady83514252017-02-13 11:57:08 -080054 depends_on:
55 - db
Hector Anapand8094742017-08-10 03:25:53 -050056 container_name: sdnc_dgbuilder_container
Patrick Brady83514252017-02-13 11:57:08 -080057 entrypoint:
58 - "/bin/bash"
59 - "-c"
Hector Anapan3d9df182017-09-19 13:41:04 -040060 - "cd /opt/onap/sdnc/dgbuilder/ && ./start.sh sdnc1.0 && wait"
Patrick Brady83514252017-02-13 11:57:08 -080061 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
Hector Anapan3d9df182017-09-19 13:41:04 -040070 - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
Hector Anapand8094742017-08-10 03:25:53 -050071 logging:
72 driver: "json-file"
73 options:
Patrick Brady83514252017-02-13 11:57:08 -080074 max-size: "30m"
Patrick Bradyac18d4c2017-02-22 12:01:39 -080075 max-file: "5"
Hector Anapan249b2c02017-08-16 14:56:54 -040076