-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.prod.yml
128 lines (116 loc) · 2.63 KB
/
docker-compose.prod.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
124
125
126
127
128
version: "3.7"
x-git-args: &git-args
GITHUB_TOKEN: ${GITHUB_TOKEN:-612359e5086512e1906ed81ce0c797678f52274f}
x-pg-env: &pg-env
POSTGRES_USER: &pg-user ${POSTGRES_USER:-bitgodine}
POSTGRES_PASSWORD: &pg-psw ${POSTGRES_PASSWORD:-bitgodine}
POSTGRES_DB: &pg-db ${POSTGRES_DB:-bitgodine}
x-pgadmin-env: &pgadmin-env
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: *pg-user
x-network: &network
networks:
- bitgodine
services:
bitcoind:
image: kylemanna/bitcoind
container_name: bitcoind
volumes:
- bitcoind-data:/bitcoin/.bitcoin
ports:
- 8333:8333
- 127.0.0.1:8332:8332
<<: *network
postgres:
image: postgres
container_name: postgres
restart: always
environment:
<<: *pg-env
ports:
- 5432:5432
volumes:
- postgresql:/var/lib/postgresql
<<: *network
redis:
image: redis
container_name: redis
ports:
- 6379:6379
volumes:
- redis:/redis-data/data
restart: always
<<: *network
parser:
container_name: parser
image: xn3cr0nx/bitgodine_parser
command: ./bitgodine --debug -r=false --db /badger --blocksDir /bitcoin --skipped 300000 --file 1000 --restored 20000000
volumes:
- bitcoind-data:/bitcoin
- bolt:/bolt
- badger:/badger
- ./config:/root/config
<<: *network
restart: always
server:
container_name: server
image: xn3cr0nx/bitgodine_server
ports:
- 3000:3000
volumes:
- badger:/badger
- analysis:/analysis
- ./config:/root/config
<<: *network
clusterizer:
container_name: clusterizer
image: xn3cr0nx/bitgodine_clusterizer
command: ./bitgodine --debug -r=false --utxo /utxoset/utxoset.db -o /utxoset
#command: ./bitgodine cluster export --dgHost dgraph_server -o /utxoset
volumes:
- utxoset:/utxoset
- badger:/badger
- disjoint:/disjoint
- ./config:/root/config
<<: *network
spider:
container_name: spider
image: xn3cr0nx/bitgodine_spider
volumes:
- ./config:/root/config
depends_on:
- postgres
<<: *network
volumes:
dgraph:
badger:
driver: local
driver_opts:
type: ext4
device: /mnt/sdb
o: bind
analysis:
bolt:
utxoset:
disjoint:
postgresql:
# driver: local
# driver_opts:
# type: ext4
# device: /mnt/sdc1
# o: bind
redis:
driver: local
driver_opts:
type: ext4
device: /mnt/sdb
o: bind
bitcoind-data:
# driver: local
# driver_opts:
# type: ext4
# device: /mnt/sdb1
# o: bind
networks:
bitgodine:
name: bitgodine