summaryrefslogtreecommitdiffstats
path: root/sliboot/src/main/compose
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-03-27 17:37:06 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-27 17:37:06 +0000
commit80d0edc969784b39aa8643ca8f029a6c4eab8b17 (patch)
tree1cb54a02fb53531934f10f9c495cbfd1a0873c26 /sliboot/src/main/compose
parent46092d7fa8fbc363eece6a0a9425a48e1ae4dd62 (diff)
parentca18ff35be6ce2c2d59a23c8e92759e4afe55fb6 (diff)
Merge "Add new sliboot container"
Diffstat (limited to 'sliboot/src/main/compose')
-rwxr-xr-xsliboot/src/main/compose/docker-compose.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/sliboot/src/main/compose/docker-compose.yaml b/sliboot/src/main/compose/docker-compose.yaml
new file mode 100755
index 00000000..fbce3b6d
--- /dev/null
+++ b/sliboot/src/main/compose/docker-compose.yaml
@@ -0,0 +1,40 @@
+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"
+ 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"
+
+