kurczews | f7495cc | 2018-08-03 09:33:10 +0200 | [diff] [blame] | 1 | version: '3.1'
|
| 2 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 3 | services:
|
kurczews | f7495cc | 2018-08-03 09:33:10 +0200 | [diff] [blame] | 4 | vid-server:
|
| 5 | image: nexus3.onap.org:10001/onap/vid
|
| 6 | ports:
|
| 7 | - "8080:8080"
|
| 8 | links:
|
| 9 | - vid-mariadb:vid-mariadb-docker-instance
|
| 10 | environment:
|
| 11 | VID_MYSQL_DBNAME: vid_openecomp_epsdk
|
| 12 | VID_MYSQL_PASS: YOUR_PASSWORD
|
| 13 |
|
| 14 | vid-mariadb:
|
| 15 | image: mariadb:10
|
| 16 | ports:
|
| 17 | - "3306:3306"
|
| 18 | volumes:
|
| 19 | - ../../../../../lf_config/vid-my.cnf:/etc/mysql/my.cnf
|
| 20 | - ../../../../../lf_config/vid-pre-init.sql:/docker-entrypoint-initdb.d/vid-pre-init.sql
|
| 21 | - /var/lib/mysql
|
| 22 | environment:
|
| 23 | MYSQL_DATABASE: vid_openecomp_epsdk
|
| 24 | MYSQL_USER: vidadmin
|
| 25 | MYSQL_PASSWORD: YOUR_PASSWORD
|
| 26 | MYSQL_ROOT_PASSWORD: ROOT_PASSWORD |