BT2983 | 7202e8f | 2018-08-27 19:14:42 -0600 | [diff] [blame^] | 1 | |
| 2 | nengdb: |
| 3 | image: mariadb |
| 4 | container_name: nengdb |
| 5 | ports: |
| 6 | - "${NENG_DB_PORT}:3306" |
| 7 | volumes: |
| 8 | - /var/lib/nengdb:/var/lib/mysql |
| 9 | restart: always |
| 10 | environment: |
| 11 | MYSQL_ROOT_PASSWORD: "${NENG_DB_ROOT}" |
| 12 | MYSQL_DATABASE: neng |
| 13 | MYSQL_USER: "${NENG_DB_USER}" |
| 14 | MYSQL_PASSWORD: "${NENG_DB_PASS}" |
| 15 | |
| 16 | neng: |
| 17 | #depends_on: |
| 18 | #- nengdb |
| 19 | image: onap/ccsdk-apps-ms-neng |
| 20 | container_name: neng |
| 21 | ports: |
| 22 | - "${NENG_SERV_PORT}:8080" |
| 23 | restart: always |
| 24 | environment: |
| 25 | SPRING_PROFILE: "${SPRING_PROFILE}" |
| 26 | NENG_DB_URL: "${NENG_DB_URL}" |
| 27 | NENG_DB_USER: "${NENG_DB_USER}" |
| 28 | NENG_DB_PASS: "${NENG_DB_PASS}" |
| 29 | |