blob: 7cb89e6ab95d972df028ca1e91c102e31d7ff961 [file] [log] [blame]
Jimmy Forsytheacbacb2017-02-17 16:32:36 -05001OpenECOMP VID for LF
2
31. 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
82. Set up and run the mariadb docker image:
9
10docker 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
123. Set up and run the vid-server docker image:
13
14docker 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