summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/vid/resources/docker-compose.yml
blob: 8f6d4a7baaf14a0a5034e2d9e3528f1ef14d488d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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