Mariusz Wagner | 5c18c8a | 2018-08-30 10:49:56 +0200 | [diff] [blame^] | 1 | version: '3' |
| 2 | services: |
| 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 |
| 8 | ports: |
| 9 | - "8080:8080" |
| 10 | container_name: vid-server |
| 11 | links: |
| 12 | - vid-mariadb:vid-mariadb-docker-instance |
| 13 | |
| 14 | vid-mariadb: |
| 15 | image: mariadb:10 |
| 16 | environment: |
| 17 | - MYSQL_DATABASE=vid_openecomp_epsdk |
| 18 | - MYSQL_USER=vidadmin |
| 19 | - MYSQL_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 20 | - MYSQL_ROOT_PASSWORD=LF+tp_1WqgSY |
| 21 | container_name: vid-mariadb |
| 22 | volumes: |
| 23 | - ${WORKSPACE}/data/clone/vid/lf_config/vid-my.cnf:/etc/mysql/my.cnf |
| 24 | - ${WORKSPACE}/data/clone/vid/lf_config/vid-schema.sql:/docker-entrypoint-initdb.d/vid-schema.sql |
| 25 | - /var/lib/mysql |