summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorMatthieu Geerebaert <matthieu.geerebaert@orange.com>2018-04-10 13:05:41 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-10 13:05:41 +0000
commitbebc9bf71e5e7a33693cbaef9400e38b6a9aba4d (patch)
treecf39315dd512434d714968997051dec43b635ad3 /docker-compose.yml
parent9cc8a3384146721ac1b129e1d9854d23d9c65f69 (diff)
parent6817f5b502e38c46a9eaa107e00fc912d521695a (diff)
Merge "Add files for build and docker"
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..e6fbf97
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,30 @@
+version: "3.0"
+services:
+ mongo:
+ image: mongo
+ volumes:
+ - /var/lib/mongo
+ ports:
+ - 27017:27017
+ command: --smallfiles
+
+ mariadb:
+ image: mariadb
+ restart: always
+ volumes:
+ - /var/lib/mariadb
+ environment:
+ MYSQL_DATABASE: nbi
+ MYSQL_ROOT_PASSWORD: toto
+# APP ***************************************************************************************
+ nbi:
+ build: .
+ image: nbi
+ ports:
+ - 8080:8080
+ depends_on:
+ - mariadb
+ - mongo
+volumes:
+ mariadb:
+ mongo: