Code Review
/
externalapi
/
nbi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add files for build and docker
[externalapi/nbi.git]
/
docker-compose.yml
1
version: "3.0"
2
services:
3
mongo:
4
image: mongo
5
volumes:
6
- /var/lib/mongo
7
ports:
8
- 27017:27017
9
command: --smallfiles
10
11
mariadb:
12
image: mariadb
13
restart: always
14
volumes:
15
- /var/lib/mariadb
16
environment:
17
MYSQL_DATABASE: nbi
18
MYSQL_ROOT_PASSWORD: toto
19
# APP ***************************************************************************************
20
nbi:
21
build: .
22
image: nbi
23
ports:
24
- 8080:8080
25
depends_on:
26
- mariadb
27
- mongo
28
volumes:
29
mariadb:
30
mongo: