forked from aaroncox/chainbb
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
57 lines (57 loc) · 1.48 KB
/
docker-compose.yaml
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
version: '2.1'
services:
account:
build: ./services/account
environment:
namespace: "eostalk"
steem_node: "https://rpc.buildteam.io"
links:
- mongo
restart: on-failure
volumes:
- ./services/account:/src:rw
mongodata:
image: mongo:3.3.10
volumes:
- /Users/tuanpa/Work/eos/data/mongodata:/data/db
command: --break-mongo
mongo:
image: mongo:3.3.10
volumes:
- ./:/tempo:rw
volumes_from:
- mongodata
ports:
- "27017:27017"
command: --smallfiles --rest
rest:
build: ./services/rest
environment:
namespace: "eostalk"
external_links:
- mongo:forums_mongo_1
ports:
- "5000:5000"
restart: on-failure
volumes:
- ./services/rest:/src:rw
statistics:
build: ./services/statistics/steem
links:
- mongo
environment:
namespace: "eostalk"
steem_node: "https://rpc.buildteam.io"
restart: on-failure
volumes:
- ./services/statistics/steem:/src:rw
steem:
build: ./services/indexer/steem
environment:
namespace: "eostalk"
steem_node: "https://steem.chainbb.com"
links:
- mongo
restart: on-failure
volumes:
- ./services/indexer/steem:/src:rw