Skip to content

Commit 8babd7e

Browse files
committed
fix(tests): include subgraph_service address book
1 parent a681871 commit 8babd7e

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

contrib/docker-compose.dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ services:
77
volumes:
88
- ./local-network/tap-contracts.json:/opt/contracts.json:ro
99
- ./local-network/horizon.json:/opt/horizon.json:ro
10+
- ./local-network/subgraph-service.json:/opt/subgraph-service.json:ro
1011
- ./local-network/.env:/opt/.env:ro
1112
- ./profiling:/opt/profiling:rw
1213
- ./indexer-service/start.sh:/usr/local/bin/start.sh
@@ -43,6 +44,7 @@ services:
4344
- ./local-network/.env:/opt/.env:ro
4445
- ./local-network/tap-contracts.json:/opt/contracts.json:ro
4546
- ./local-network/horizon.json:/opt/horizon.json:ro
47+
- ./local-network/subgraph-service.json:/opt/subgraph-service.json:ro
4648
- ../migrations:/opt/migrations:ro
4749
entrypoint: ["/usr/local/bin/start.sh"]
4850
environment:

contrib/docker-compose.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ services:
77
volumes:
88
- ./local-network/tap-contracts.json:/opt/contracts.json:ro
99
- ./local-network/horizon.json:/opt/horizon.json:ro
10+
- ./local-network/subgraph-service.json:/opt/subgraph-service.json:ro
11+
1012
- ./local-network/.env:/opt/.env:ro
1113
- ../migrations:/opt/migrations:ro
1214
environment:
@@ -17,11 +19,17 @@ services:
1719
networks:
1820
- local-network
1921
healthcheck:
20-
test: ["CMD", "curl", "-f", "http://localhost:7601/"]
22+
test:
23+
[
24+
"CMD",
25+
"sh",
26+
"-c",
27+
"curl -f http://localhost:7601/health || curl -f http://localhost:7601/",
28+
]
2129
interval: 5s
22-
timeout: 3s
23-
retries: 10
24-
start_period: 10s
30+
timeout: 5s
31+
retries: 20
32+
start_period: 30s
2533

2634
tap-agent:
2735
build:
@@ -35,6 +43,7 @@ services:
3543
- ./local-network/.env:/opt/.env:ro
3644
- ./local-network/tap-contracts.json:/opt/contracts.json:ro
3745
- ./local-network/horizon.json:/opt/horizon.json:ro
46+
- ./local-network/subgraph-service.json:/opt/subgraph-service.json:ro
3847
- ../migrations:/opt/migrations:ro
3948
environment:
4049
- RUST_BACKTRACE=1
@@ -47,9 +56,9 @@ services:
4756
healthcheck:
4857
test: ["CMD", "curl", "-f", "http://localhost:7300/metrics"]
4958
interval: 5s
50-
timeout: 3s
51-
retries: 10
52-
start_period: 10s
59+
timeout: 5s
60+
retries: 20
61+
start_period: 30s
5362

5463
networks:
5564
local-network:

0 commit comments

Comments
 (0)