Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 1 | version: '2' |
| 2 | |
ubuntu | f76caa7 | 2017-05-10 12:53:54 -0400 | [diff] [blame] | 3 | networks: |
| 4 | default: |
| 5 | driver: bridge |
| 6 | driver_opts: |
| 7 | com.docker.network.driver.mtu: ${MTU} |
| 8 | |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 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=% |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 18 | logging: |
| 19 | driver: "json-file" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 20 | options: |
| 21 | max-size: "30m" |
| 22 | max-file: "5" |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 23 | |
Hector Anapan | 249b2c0 | 2017-08-16 14:56:54 -0400 | [diff] [blame] | 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. |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 27 | appc: |
Patrick Brady | 0a85864 | 2017-03-22 13:13:19 -0700 | [diff] [blame] | 28 | image: "openecomp/appc-image:latest" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 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 |
Hector Anapan | 249b2c0 | 2017-08-16 14:56:54 -0400 | [diff] [blame] | 42 | - SDNC_CONFIG_DIR=/opt/openecomp/appc/data/properties |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 43 | - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties |
| 44 | - DMAAP_TOPIC_ENV=SUCCESS |
| 45 | logging: |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 46 | driver: "json-file" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 47 | options: |
| 48 | max-size: "30m" |
| 49 | max-file: "5" |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 50 | |
| 51 | |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 52 | dgbuilder: |
Victor Morales | 97a6a9a | 2017-09-14 12:05:13 -0700 | [diff] [blame] | 53 | image: "onap/ccsdk-dgbuilder-image:latest" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 54 | depends_on: |
| 55 | - db |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 56 | container_name: sdnc_dgbuilder_container |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 57 | entrypoint: |
| 58 | - "/bin/bash" |
| 59 | - "-c" |
Hector Anapan | 3d9df18 | 2017-09-19 13:41:04 -0400 | [diff] [blame^] | 60 | - "cd /opt/onap/sdnc/dgbuilder/ && ./start.sh sdnc1.0 && wait" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 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 |
Hector Anapan | 3d9df18 | 2017-09-19 13:41:04 -0400 | [diff] [blame^] | 70 | - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties |
Hector Anapan | d809474 | 2017-08-10 03:25:53 -0500 | [diff] [blame] | 71 | logging: |
| 72 | driver: "json-file" |
| 73 | options: |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 74 | max-size: "30m" |
Patrick Brady | ac18d4c | 2017-02-22 12:01:39 -0800 | [diff] [blame] | 75 | max-file: "5" |
Hector Anapan | 249b2c0 | 2017-08-16 14:56:54 -0400 | [diff] [blame] | 76 | |