summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulienBe <jb379x@att.com>2017-02-09 06:11:47 -0800
committerJulienBe <jb379x@att.com>2017-02-09 06:11:55 -0800
commit4ec8b3f1cac37a85d2d3b7f9e0d3f6c6d9971950 (patch)
tree13586c0765bed35b7f0131eca8a390b1d197485a
parent4743772924d0262b6d740ae5c5f0c38d294efd29 (diff)
Adding docker-compose
Change-Id: I84fc67e1c0c83f2831549ac10acd8bfe22315ff6 Signed-off-by: JulienBe <jb379x@att.com>
-rw-r--r--docker-compose.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000000..c7d9b497bd
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,34 @@
+version: '2'
+
+services:
+ mariadb:
+ image: mariadb:10.1.11
+ ports:
+ - "3306"
+ volumes:
+ - ./volumes/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
+ - ./volumes/mariadb/conf.d:/etc/mysql/conf.d
+ environment:
+ - MYSQL_ROOT_PASSWORD=password
+ hostname:
+ db.mso.testlab.openecomp.org
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
+
+ mso:
+ image: ecomp/mso
+ ports:
+ - "3904:3904"
+ - "3905:3905"
+ - "8080:8080"
+ - "9990:9990"
+ volumes:
+ - ./volumes/mso/chef-config:/shared
+ environment:
+ - MYSQL_ROOT_PASSWORD=password
+ hostname:
+ mso.mso.testlab.openecomp.org
+