aboutsummaryrefslogtreecommitdiffstats
path: root/deliveries/src/main/docker/docker-files/docker-compose.yml
blob: daebdd06b0a124161779c7ff57e9db8ebbb03ae5 (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
26
version: '3.1'

services:
    vid-server:
        image: nexus3.onap.org:10001/onap/vid
        ports:
            - "8080:8080"
        links:
            - vid-mariadb:vid-mariadb-docker-instance
        environment:
            VID_MYSQL_DBNAME: vid_openecomp_epsdk
            VID_MYSQL_PASS: YOUR_PASSWORD

    vid-mariadb:
        image: mariadb:10
        ports:
            - "3306:3306"
        volumes:
            - ../../../../../lf_config/vid-my.cnf:/etc/mysql/my.cnf
            - ../../../../../lf_config/vid-schema.sql:/docker-entrypoint-initdb.d/vid-schema.sql
            - /var/lib/mysql
        environment:
            MYSQL_DATABASE: vid_openecomp_epsdk
            MYSQL_USER: vidadmin
            MYSQL_PASSWORD: YOUR_PASSWORD
            MYSQL_ROOT_PASSWORD: ROOT_PASSWORD