summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
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: