Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame^] | 1 | version: '2' |
| 2 | |
| 3 | services: |
| 4 | db: |
| 5 | image: mysql/mysql-server:5.6 |
| 6 | container_name: sdnc_db_container |
| 7 | ports: |
| 8 | - "3306" |
| 9 | environment: |
| 10 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
| 11 | - MYSQL_ROOT_HOST=% |
| 12 | logging: |
| 13 | driver: "json-file" |
| 14 | options: |
| 15 | max-size: "30m" |
| 16 | max-file: "5" |
| 17 | |
| 18 | |
| 19 | appc: |
| 20 | image: ecomp-nexus:51212/ecomp/appc-image:latest |
| 21 | depends_on : |
| 22 | - db |
| 23 | container_name: appc_controller_container |
| 24 | entrypoint: ["/opt/openecomp/appc/bin/startODL.sh"] |
| 25 | ports: |
| 26 | - "8282:8181" |
| 27 | - "1830:1830" |
| 28 | links: |
| 29 | - db:dbhost |
| 30 | - db:sdnctldb01 |
| 31 | - db:sdnctldb02 |
| 32 | environment: |
| 33 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
| 34 | - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties |
| 35 | - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties |
| 36 | - DMAAP_TOPIC_ENV=SUCCESS |
| 37 | logging: |
| 38 | driver: "json-file" |
| 39 | options: |
| 40 | max-size: "30m" |
| 41 | max-file: "5" |
| 42 | |
| 43 | |
| 44 | dgbuilder: |
| 45 | image: ecomp-nexus:51212/ecomp/dgbuilder-sdnc-image:latest |
| 46 | depends_on: |
| 47 | - db |
| 48 | container_name: sdnc_dgbuilder_container |
| 49 | entrypoint: |
| 50 | - "/bin/bash" |
| 51 | - "-c" |
| 52 | - "cd /opt/openecomp/sdnc/dgbuilder/ && ./start sdnc1.0 && wait" |
| 53 | ports: |
| 54 | - "3000:3100" |
| 55 | links: |
| 56 | - db:dbhost |
| 57 | - db:sdnctldb01 |
| 58 | - db:sdnctldb02 |
| 59 | - appc:sdnhost |
| 60 | environment: |
| 61 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
| 62 | - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties |
| 63 | - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties |
| 64 | logging: |
| 65 | driver: "json-file" |
| 66 | options: |
| 67 | max-size: "30m" |
| 68 | max-file: "5" |