-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (55 loc) · 998 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
51
52
53
54
55
version: "3"
services:
relayer:
container_name: relayer
image: bytes32/relayer
ports:
- 8000:8000
env_file:
- .env
build:
context: .
dockerfile: Dockerfile.relayer
indexer:
container_name: indexer
image: bytes32/indexer
depends_on:
- solr
restart: on-failure
env_file:
- .env
build:
context: .
dockerfile: Dockerfile.indexer
solr:
image: solr:9
container_name: solr
command: solr-precreate bytes32
ports:
- 8983:8983
volumes:
- solrdata:/var/solr
healthcheck:
test:
[
"CMD",
"curl",
"-f",
"http://localhost:8983/solr/bytes32/admin/ping"
]
interval: 30s
timeout: 10s
retries: 5
ipfs:
container_name: ipfs
image: ipfs/kubo:latest
ports:
- 4001:4001
- 8080:8080
expose:
- 5001
volumes:
- ipfsdata:/data/ipfs
volumes:
solrdata:
ipfsdata: