-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
57 lines (53 loc) · 1.59 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
version: '3'
services:
qubic-http:
image: ghcr.io/qubic/qubic-http:dev
container_name: qubic-http
environment:
QUBIC_API_SIDECAR_SERVER_HTTP_HOST: "0.0.0.0:8000"
QUBIC_API_SIDECAR_SERVER_GRPC_HOST: "0.0.0.0:8001"
QUBIC_API_SIDECAR_POOL_NODE_FETCHER_URL: "http://qubic-nodes:8080/status"
QUBIC_API_SIDECAR_POOL_NODE_FETCHER_TIMEOUT: "20s"
networks:
- archiver
depends_on:
qubic-nodes:
condition: service_healthy
restart: always
qubic-archiver:
image: ghcr.io/qubic/qubic-archiver:v0.2.2
container_name: qubic-archiver
ports:
- "127.0.0.1:8001:8000"
environment:
QUBIC_ARCHIVER_SERVER_HTTP_HOST: "0.0.0.0:8000"
QUBIC_ARCHIVER_SERVER_GRPC_HOST: "0.0.0.0:8001"
QUBIC_ARCHIVER_SERVER_CHAIN_TICK_FETCH_URL: "http://qubic-nodes:8080/max-tick"
QUBIC_ARCHIVER_POOL_NODE_FETCHER_URL: "http://qubic-nodes:8080/status"
QUBIC_ARCHIVER_QUBIC_PROCESS_TICK_TIMEOUT: "20s"
volumes:
- ./store/archiver:/app/store
networks:
- archiver
depends_on:
qubic-nodes:
condition: service_healthy
restart: always
qubic-nodes:
image: ghcr.io/qubic/qubic-nodes:v1.0.2
ports:
- "127.0.0.1:8080:8080"
environment:
QUBIC_NODES_QUBIC_PEER_LIST: "5.39.222.64;82.197.173.130;82.197.173.129"
volumes:
- ./store/qubic-nodes:/app/store
networks:
- archiver
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:8080/status"]
interval: 30s
timeout: 5s
retries: 5
restart: always
networks:
archiver: