aboutsummaryrefslogtreecommitdiffstats
path: root/deliveries/src/main/docker/docker-files/docker-compose.yml
blob: e4bab263bae88ee1684b2c72135006beac59efea (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
27
28
29
30
31
32
33
34
35
36
37
version: '3.2'

# Please note this configuration is provided for local development. Do not use it on production.

services:
    vid-server:
        image: onap/vid:latest
        ports:
            - "8080:8080"
        environment:
            VID_MYSQL_DBNAME: vid_openecomp_epsdk
            VID_MYSQL_PASS: YOUR_PASSWORD
            VID_MYSQL_HOST: vid-mariadb
            ASDC_CLIENT_REST_PROTOCOL: http
            ASDC_CLIENT_REST_HOST: vid-simulator
            ASDC_CLIENT_REST_PORT: 1080
            VID_AAI_URL: http://vid-simulator:1080
            VID_MSO_SERVER_URL: http://vid-simulator:1080

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

    vid-simulator:
        image: onap/vid-simulator:latest
        ports:
            - "9080:8080"
            - "1080:1080"