aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/vid/resources/docker-compose.yml
diff options
context:
space:
mode:
authorMariusz Wagner <mariusz.wagner@nokia.com>2018-08-30 10:49:56 +0200
committerMariusz Wagner <mariusz.wagner@nokia.com>2018-08-30 10:49:56 +0200
commit5c18c8a38ccac342eb29dbafdbb75aca78009dc8 (patch)
tree93f24ac774deba14e3335723a617174750357446 /test/csit/tests/vid/resources/docker-compose.yml
parent04b55da457380867784c8d2c9ccaa44c73c35544 (diff)
Added docker-compose
Change in initial script from docker run to docker-compose Issue-ID: INT-642 Change-Id: Iaebdd0da63d22291324ebffe09170032fd608c05 Signed-off-by: Mariusz Wagner <mariusz.wagner@nokia.com>
Diffstat (limited to 'test/csit/tests/vid/resources/docker-compose.yml')
-rw-r--r--test/csit/tests/vid/resources/docker-compose.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/csit/tests/vid/resources/docker-compose.yml b/test/csit/tests/vid/resources/docker-compose.yml
new file mode 100644
index 000000000..8f6d4a7ba
--- /dev/null
+++ b/test/csit/tests/vid/resources/docker-compose.yml
@@ -0,0 +1,25 @@
+version: '3'
+services:
+ vid-server:
+ image: nexus3.onap.org:10001/onap/vid:latest
+ environment:
+ - VID_MYSQL_DBNAME=vid_openecomp_epsdk
+ - VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+ ports:
+ - "8080:8080"
+ container_name: vid-server
+ links:
+ - vid-mariadb:vid-mariadb-docker-instance
+
+ vid-mariadb:
+ image: mariadb:10
+ environment:
+ - MYSQL_DATABASE=vid_openecomp_epsdk
+ - MYSQL_USER=vidadmin
+ - MYSQL_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+ - MYSQL_ROOT_PASSWORD=LF+tp_1WqgSY
+ container_name: vid-mariadb
+ volumes:
+ - ${WORKSPACE}/data/clone/vid/lf_config/vid-my.cnf:/etc/mysql/my.cnf
+ - ${WORKSPACE}/data/clone/vid/lf_config/vid-schema.sql:/docker-entrypoint-initdb.d/vid-schema.sql
+ - /var/lib/mysql