aboutsummaryrefslogtreecommitdiffstats
path: root/ms/sliboot/src/main/dc
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-06-05 15:46:39 -0400
committerKAPIL SINGAL <ks220y@att.com>2020-06-09 14:24:12 +0000
commit31172d602ff8bce4b4680c3a2da58b6db2e8d9f0 (patch)
treebf66bc083d8f1a46c17132c990c7e725e828514d /ms/sliboot/src/main/dc
parentc2fac23347ee5dd3f8b6e3180a0206eb979b965e (diff)
Refactor sliapi springboot
Moved sli-api springboot microservice from ccsdk/sli/core to ccsdk/apps Change-Id: Ibecae568cf90b71575403052111e7be9ff543376 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/sliboot/src/main/dc')
-rwxr-xr-xms/sliboot/src/main/dc/docker-compose.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/ms/sliboot/src/main/dc/docker-compose.yaml b/ms/sliboot/src/main/dc/docker-compose.yaml
new file mode 100755
index 00000000..f48af3af
--- /dev/null
+++ b/ms/sliboot/src/main/dc/docker-compose.yaml
@@ -0,0 +1,43 @@
+version: '2.1'
+
+services:
+ db:
+ image: mariadb:10.3
+ container_name: sliboot_db_container
+ ports:
+ - "13306:3306"
+ environment:
+ - MYSQL_ROOT_PASSWORD=openECOMP1.0
+ - MYSQL_ROOT_HOST=%
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
+
+
+ sliboot:
+ image: onap/ccsdk-sliboot-alpine-image:latest
+ depends_on:
+ - db
+ container_name: sliboot_sli_container
+ ports:
+ - "8080:8080"
+ - "8443:8443"
+ links:
+ - db:dbhost
+ environment:
+ - MYSQL_DB_HOST=dbhost
+ - MYSQL_ROOT_PASSWORD=openECOMP1.0
+ - MYSQL_DB_USER=sli
+ - MYSQL_DB_PASSWD=abc123
+ - MYSQL_DB_DATABASE=sdnctl
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
+ extra_hosts:
+ aaf-onap-test.osaaf.org: 10.12.5.145
+
+