Skip to content

Commit fe1b720

Browse files
committed
chore: fix config for docker-compose and add run docker-compose to CI
Signed-off-by: Lan <[email protected]>
1 parent 734c995 commit fe1b720

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/test-and-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ jobs:
6767
CGO_ENABLED: 1
6868
LD_LIBRARY_PATH: ${{ github.workspace }}/candle-binding/target/release
6969

70+
- name: build container and run docker-compose
71+
run: |
72+
docker compose up -d
73+
7074
- name: Upload test artifacts on failure
7175
if: failure()
7276
uses: actions/upload-artifact@v4

config/envoy-docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static_resources:
7878
- name: extproc_service
7979
connect_timeout: 300s
8080
per_connection_buffer_limit_bytes: 52428800
81-
type: STATIC
81+
type: STRICT_DNS
8282
lb_policy: ROUND_ROBIN
8383
typed_extension_protocol_options:
8484
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
networks:
1818
- semantic-network
1919
healthcheck:
20-
test: ["CMD", "nc", "-z", "localhost", "50051"]
20+
test: ["CMD", "curl","-f", "localhost:8080/health"]
2121
interval: 10s
2222
timeout: 5s
2323
retries: 5

0 commit comments

Comments
 (0)