diff options
author | 2018-04-09 16:23:03 +0200 | |
---|---|---|
committer | 2018-04-10 15:00:16 +0200 | |
commit | 6817f5b502e38c46a9eaa107e00fc912d521695a (patch) | |
tree | 0c5ef1a22c3e3c6e6210f974567e11995ad4b4e7 /docker-compose.yml | |
parent | 858cfa7e58f6378cf0a1eeb35a6b94eabd63b0c0 (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.yml | 30 |
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: |