-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose-dev.yml
executable file
·123 lines (123 loc) · 2.31 KB
/
docker-compose-dev.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
version: '2'
services:
webapp:
image: oxygen/oxygen-platform:v2.0.0
build:
context: ./
dockerfile: Dockerfile
network_mode: host
restart: always
ports:
- "8080:8000"
depends_on:
- mongodb
- rabbitmq
- neo4j
- redis
env_file:
- ./oxygen.env
entrypoint:
- /bin/sh
- -c
- 'npm run www --production'
searcher:
image: oxygen/oxygen-platform:v2.0.0
build:
context: ./
dockerfile: Dockerfile
network_mode: host
restart: always
depends_on:
- mongodb
- rabbitmq
- redis
env_file:
- ./oxygen.env
entrypoint:
- /bin/sh
- -c
- 'npm run search --production'
crawler:
image: oxygen/oxygen-platform:v2.0.0
build:
context: ./
dockerfile: Dockerfile
network_mode: host
restart: always
depends_on:
- mongodb
- rabbitmq
- redis
- neo4j
env_file:
- ./oxygen.env
entrypoint:
- /bin/sh
- -c
- 'npm run crawl --production'
parser:
image: oxygen/oxygen-platform:v2.0.0
build:
context: ./
dockerfile: Dockerfile
network_mode: host
restart: always
depends_on:
- mongodb
- rabbitmq
- redis
- neo4j
env_file:
- ./oxygen.env
entrypoint:
- /bin/sh
- -c
- 'npm run parser --production'
mongodb:
image: mvertes/alpine-mongo
network_mode: host
restart: always
volumes:
- /data:/data/db
expose:
- 27017
ports:
- "27017:27017"
rabbitmq:
image: smebberson/alpine-rabbitmq
network_mode: host
restart: always
volumes:
- /data:/data/db
expose:
- 5672
ports:
- "5672:5672"
neo4j:
image: neo4j:3.0.7
network_mode: host
restart: always
environment:
- NEO4J_AUTH=neo4j/password
cap_add:
- SYS_RESOURCE
expose:
- 7474
- 7687
- 1337
ports:
- "7474:7474"
- "7687:7687"
- "1337:1337"
volumes:
- ./neo4jContainer/neo4j/plugins:/plugins
- ./neo4jContainer/neo4j/data:/data
- ./neo4jContainer/neo4j/import:/var/lib/neo4j/import
redis:
image: smebberson/alpine-redis
network_mode: host
restart: always
expose:
- 6379
ports:
- "6379:6379"