blob: 93b317001041279c496b5bb71b43ddfb84baafe5 [file] [log] [blame]
Mariusz Wagner5c18c8a2018-08-30 10:49:56 +02001version: '3'
2services:
3 vid-server:
4 image: nexus3.onap.org:10001/onap/vid:latest
5 environment:
6 - VID_MYSQL_DBNAME=vid_openecomp_epsdk
7 - VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Gabriel0e562642018-08-31 07:15:00 +02008 - ASDC_CLIENT_REST_HOST=localhost
9 - ASDC_CLIENT_REST_PORT=8443
Mariusz Wagner5c18c8a2018-08-30 10:49:56 +020010 ports:
11 - "8080:8080"
12 container_name: vid-server
13 links:
14 - vid-mariadb:vid-mariadb-docker-instance
Gabriel0e562642018-08-31 07:15:00 +020015
Mariusz Wagner5c18c8a2018-08-30 10:49:56 +020016 vid-mariadb:
17 image: mariadb:10
18 environment:
19 - MYSQL_DATABASE=vid_openecomp_epsdk
20 - MYSQL_USER=vidadmin
21 - MYSQL_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
22 - MYSQL_ROOT_PASSWORD=LF+tp_1WqgSY
23 container_name: vid-mariadb
24 volumes:
25 - ${WORKSPACE}/data/clone/vid/lf_config/vid-my.cnf:/etc/mysql/my.cnf
26 - ${WORKSPACE}/data/clone/vid/lf_config/vid-schema.sql:/docker-entrypoint-initdb.d/vid-schema.sql
27 - /var/lib/mysql
Gabriel0e562642018-08-31 07:15:00 +020028
29 sdc_simulator:
30 build:
31 context: simulators
32 dockerfile: SDC_simulator
33 ports:
34 - "8443:8443"
35 container_name: sdc_simulator