diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2018-11-14 08:14:58 +0100 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2018-12-04 15:21:06 +0100 |
commit | 178ff256e63859a88f535cee3ae33bd6c35497f2 (patch) | |
tree | 3770c3e7f81aaed7c1530b69b535b7cb8b7e27b2 /deliveries/src/main/docker | |
parent | 7cdf140ac9f7950dacb8110b17190a188a2189bf (diff) |
Add simulator to docker-compose.yml
Issue-ID: VID-354
Change-Id: If531a133c6d6267e5b956cbb9852fc15e24642d5
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'deliveries/src/main/docker')
-rwxr-xr-x | deliveries/src/main/docker/docker-files/docker-compose.yml | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/deliveries/src/main/docker/docker-files/docker-compose.yml b/deliveries/src/main/docker/docker-files/docker-compose.yml index 64459019..eedf7322 100755 --- a/deliveries/src/main/docker/docker-files/docker-compose.yml +++ b/deliveries/src/main/docker/docker-files/docker-compose.yml @@ -1,15 +1,21 @@ -version: '3.1'
+version: '3.2'
+
+# Please note this configuration is provided for local development. Do not use it on production.
services:
vid-server:
- image: nexus3.onap.org:10001/onap/vid
+ image: onap/vid:latest
ports:
- "8080:8080"
- links:
- - vid-mariadb:vid-mariadb-docker-instance
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
@@ -22,4 +28,7 @@ services: MYSQL_DATABASE: vid_openecomp_epsdk
MYSQL_USER: vidadmin
MYSQL_PASSWORD: YOUR_PASSWORD
- MYSQL_ROOT_PASSWORD: ROOT_PASSWORD
\ No newline at end of file + MYSQL_ROOT_PASSWORD: ROOT_PASSWORD
+
+ vid-simulator:
+ image: onap/vid-simulator:latest
\ No newline at end of file |