-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
161 lines (148 loc) · 3.3 KB
/
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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
version: '3'
services:
goflomainnet:
build:
context: go-flo
dockerfile: Dockerfile
args:
network: mainnet
hostname: goflomainnet
ports:
- "7316:7316"
- "127.0.0.1:7317:7317"
volumes:
- goFloMainnetHome:/root/.flod/
networks:
- floMainnetNetwork
goflotestnet:
build:
context: go-flo
dockerfile: Dockerfile
args:
network: testnet
hostname: goflotestnet
ports:
- "17316:17316"
- "127.0.0.1:17317:17317"
volumes:
- goFloTestnetHome:/root/.flod/
networks:
- floTestnetNetwork
ipfs:
image: ipfs/go-ipfs:latest
environment:
- IPFS_PROFILE=server
ports:
- "4001:4001"
- "127.0.0.1:8080:8080"
- "127.0.0.1:5001:5001"
volumes:
- ./ipfsStaging:/export
- ipfsData:/data/ipfs
esmainnet:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.8
environment:
- cluster.name=mainnet-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms4g -Xmx4g"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esMainnetData:/usr/share/elasticsearch/data
networks:
- esMainnetNetwork
estestnet:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.8
environment:
- cluster.name=testnet-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esTestnetData:/usr/share/elasticsearch/data
networks:
- esTestnetNetwork
kibanamainnet:
image: docker.elastic.co/kibana/kibana:7.17.8
hostname: kibanaMainnet
depends_on:
- esmainnet
ports:
- "127.0.0.1:5601:5601"
networks:
- esMainnetNetwork
environment:
SERVER_HOST: 0.0.0.0
# SERVER_BASEPATH: "/mainnet/kibana"
# SERVER_REWRITEBASEPATH:
ELASTICSEARCH_HOSTS: http://esmainnet:9200
kibanatestnet:
image: docker.elastic.co/kibana/kibana:7.17.8
hostname: kibanaTestnet
depends_on:
- estestnet
ports:
- "127.0.0.1:15601:5601"
networks:
- esTestnetNetwork
environment:
SERVER_HOST: 0.0.0.0
# SERVER_BASEPATH: "/testnet/kibana"
# SERVER_REWRITEBASEPATH:
ELASTICSEARCH_HOSTS: http://estestnet:9200
oipmainnet:
build:
context: oip/
dockerfile: Dockerfile
args:
network: mainnet
depends_on:
- goflomainnet
- esmainnet
ports:
- "127.0.0.1:1606:1606"
networks:
- esMainnetNetwork
- floMainnetNetwork
volumes:
- goFloMainnetHome:/flo/
oiptestnet:
build:
context: oip/
dockerfile: Dockerfile
args:
network: testnet
depends_on:
- goflotestnet
- estestnet
ports:
- "127.0.0.1:11606:11606"
networks:
- esTestnetNetwork
- floTestnetNetwork
volumes:
- goFloTestnetHome:/flo/
webwallet:
build: webwallet
environment:
- NODE_ENV=production
ports:
- "127.0.0.1:7000:7000"
networks:
esMainnetNetwork:
esTestnetNetwork:
floMainnetNetwork:
floTestnetNetwork:
volumes:
goFloMainnetHome:
goFloTestnetHome:
esTestnetData:
esMainnetData:
ipfsData: