aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vid/resources/docker-compose.yml
blob: 6aaa5a7ec0231166e00bf6f0364b9dea08e0a3e5 (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
38
39
40
41
42
43
44
45
46
47
48
version: '3'
services:
    vid-server:
        image: nexus3.onap.org:10001/onap/vid:5.0-STAGING-latest
        environment:
        - VID_MYSQL_DBNAME=vid_openecomp_epsdk
        - VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
        - VID_MSO_SERVER_URL=https://so-simulator:8443
        - VID_AAI_URL=http://aai-simulator:8443
        ports:
        - "8080:8080"
        - "8443:8443"
        container_name: vid-server
        links:
        - vid-mariadb:vid-mariadb-docker-instance

    vid-mariadb:
        image: nexus3.onap.org:10001/library/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
        - /var/lib/mysql

    so-simulator:
        build:
            context: simulators
            dockerfile: Dockerfile
            args:
                component: so
        ports:
        - "8444:8443"
        container_name: so-simulator
        
    aai-simulator:
        build:
            context: simulators
            dockerfile: Dockerfile
            args:
                component: aai
        ports:
        - "8445:8443"
        container_name: aai-simulator