Skip to content

Commit 5c7327c

Browse files
committed
fix: update ports
1 parent 5be2f82 commit 5c7327c

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ jobs:
1414
quant-mock-api:
1515
image: ghcr.io/quantcdn/quant-mock-api:4.4.0
1616
ports:
17-
- 8080:8080
18-
env:
19-
API_PORT: 8080
17+
- 8080:4010
2018
options: >-
21-
--health-cmd "curl -f http://localhost:8080/health || exit 1"
22-
--health-interval 10s
23-
--health-timeout 5s
24-
--health-retries 5
25-
--health-start-period 10s
19+
--health-cmd "nc -z 127.0.0.1 4010"
20+
--health-interval 10s
21+
--health-timeout 5s
22+
--health-retries 5
2623
2724
strategy:
2825
fail-fast: false

docker-compose.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ services:
22
quant-mock-api:
33
image: ghcr.io/quantcdn/quant-mock-api:4.4.0
44
ports:
5-
- "8080:8080"
6-
environment:
7-
- API_PORT=8080
5+
- "8080:4010"
86
healthcheck:
9-
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
7+
test: ["CMD", "curl", "-f", "http://localhost:4010/"]
108
interval: 10s
119
timeout: 5s
1210
retries: 5
@@ -21,7 +19,7 @@ services:
2119
- .:/app
2220
working_dir: /app
2321
environment:
24-
- QUANT_MOCK_API_HOST=http://quant-mock-api:8080
22+
- QUANT_MOCK_API_HOST=http://quant-mock-api:4010
2523
- QUANT_API_TOKEN=test-token
2624
command: >
2725
sh -c "

0 commit comments

Comments
 (0)