Jimmy Forsyth | eacbacb | 2017-02-17 16:32:36 -0500 | [diff] [blame] | 1 | OpenECOMP VID for LF |
| 2 | |
| 3 | 1. Make these two files available on the docker host VM: |
| 4 | |
| 5 | ${gerrit_repo_root}/vid/lf_config/vid-my.cnf |
| 6 | ${gerrit_repo_root}/vid/lf_config/vid-pre-init.sql |
| 7 | |
| 8 | 2. Set up and run the mariadb docker image: |
| 9 | |
| 10 | docker run --name vid-mariadb -e MYSQL_DATABASE=vid_openecomp -e MYSQL_USER=vidadmin -e MYSQL_PASSWORD=<db password here> -e MYSQL_ROOT_PASSWORD=<root db password here> -v /path/to/vid-my.cnf:/etc/mysql/my.cnf -v /path/to/vid-pre-init.sql:/docker-entrypoint-initdb.d/vid-pre-init.sql -v /var/lib/mysql -d mariadb:10 |
| 11 | |
| 12 | 3. Set up and run the vid-server docker image: |
| 13 | |
| 14 | docker run -e VID_MYSQL_DBNAME=vid_openecomp -e VID_MYSQL_PASS=<db password here> --name vid-server -p 8080:8080 --link vid-mariadb:vid-mariadb-docker-instance -d <openecomp-nexus>:<openecomp-nexus-port>/openecomp/vid:1.0.0 |