-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
50 lines (45 loc) · 965 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '2'
services:
son-catalogue-repositories:
#image: sonatanfv/son-catalogue-repos:dev
#links:
# - mongo
build:
context: ./
dockerfile: Dockerfile
ports:
- "4011:4011"
restart: always
environment:
- MAIN_DB=son-catalogue-repository
- MAIN_DB_HOST=localhost:27017
#- SECOND_DB=son-catalogue-repository
#- SECOND_DB_HOST=localhost:27017
container_name: son-catalogue-repos
son-catalogue-repositories_doc:
image: sonatanfv/son-catalogue-repos:dev
ports:
- "8808:8808"
command: [rake,yard]
command: [yard, server, -B, 0.0.0.0]
restart: always
mongodata:
image: mongo:3.0.4
volumes:
- /data/db
command: --break-mongo
mongo:
image: mongo:3.0.4
volumes_from:
- mongodata
ports:
- "27017"
command: --smallfiles --rest
restart: always
mongoexpress:
image: mongo-express
links:
- mongo:mongo
ports:
- "8081:8081"
restart: always