From 6817f5b502e38c46a9eaa107e00fc912d521695a Mon Sep 17 00:00:00 2001 From: raag8290 Date: Mon, 9 Apr 2018 16:23:03 +0200 Subject: 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 --- docker-compose.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') 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: -- cgit 1.2.3-korg