aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorraag8290 <romain.gimbert@orange.com>2018-04-09 16:23:03 +0200
committerMatthieuGeerebaert <matthieu.geerebaert@orange.com>2018-04-10 15:00:16 +0200
commit6817f5b502e38c46a9eaa107e00fc912d521695a (patch)
tree0c5ef1a22c3e3c6e6210f974567e11995ad4b4e7 /docker-compose.yml
parent858cfa7e58f6378cf0a1eeb35a6b94eabd63b0c0 (diff)
Add files for build and docker
- version.properties - plugin docker - application-docker.properties - docker files - ready Change-Id: Ic6884b2df3d31518b70a5d2b8cd1a2fd94d73a15 Issue-ID: EXTAPI-49 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
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: