diff options
author | Dan Timoney <dtimoney@att.com> | 2020-03-24 10:13:29 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-03-27 12:48:58 -0400 |
commit | ca18ff35be6ce2c2d59a23c8e92759e4afe55fb6 (patch) | |
tree | f7288bb9ab8f94254a6cb712133c90c75e93bb8a /sliboot/src/main/compose/docker-compose.yaml | |
parent | 1de136123f864a62052f7babf18ddb45e870ec54 (diff) |
Add new sliboot container
Add new docker container for springboot-based SLI
Change-Id: I2cb767e04206b56804169ae37f015ebc0b5e8f60
Issue-ID: CCSDK-2186
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sliboot/src/main/compose/docker-compose.yaml')
-rwxr-xr-x | sliboot/src/main/compose/docker-compose.yaml | 40 |
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" + + |