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=% |
| 18 | logging: |
| 19 | driver: "json-file" |
| 20 | options: |
| 21 | max-size: "30m" |
| 22 | max-file: "5" |
| 23 | |
| 24 | |
| 25 | appc: |
Patrick Brady | 0a85864 | 2017-03-22 13:13:19 -0700 | [diff] [blame] | 26 | image: "openecomp/appc-image:latest" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 27 | 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 Brady | 0a85864 | 2017-03-22 13:13:19 -0700 | [diff] [blame] | 51 | image: "openecomp/dgbuilder-sdnc-image:latest" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 52 | depends_on: |
| 53 | - db |
| 54 | container_name: sdnc_dgbuilder_container |
| 55 | entrypoint: |
| 56 | - "/bin/bash" |
| 57 | - "-c" |
jwang5 | 62bbce3 | 2017-04-24 12:48:23 -0500 | [diff] [blame] | 58 | - "cd /opt/openecomp/sdnc/dgbuilder/ && ./start.sh sdnc1.0 && wait" |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 59 | 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 Brady | ac18d4c | 2017-02-22 12:01:39 -0800 | [diff] [blame] | 74 | max-file: "5" |