mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
629d48a086
<!-- The PR description should answer 2 important questions: --> ### What We need to bump `tonic` because of `cargo audit`, and to do so we need to bump OpenTelemetry, and to do that we need to finally bump `http`, and to do that... ### How Follow the breadcrumb trail, fix the errors. Checked, trace propagation still works: <img width="1781" alt="Screenshot 2024-10-02 at 15 56 28" src="https://github.com/user-attachments/assets/4c3f8763-e646-445d-84de-f507da15ad2e"> V3_GIT_ORIGIN_REV_ID: aa219e91375aa310dc656183948edc33f77cdfdc
60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
services:
|
|
postgres:
|
|
extends:
|
|
file: ./docker-compose.yaml
|
|
service: postgres
|
|
|
|
postgres_connector:
|
|
image: ghcr.io/hasura/ndc-postgres:dev-main
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
CONNECTION_URI: "postgresql://postgres:password@postgres"
|
|
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: "http://jaeger:4317"
|
|
OTEL_SERVICE_NAME: "ndc-postgres"
|
|
RUST_LOG: info
|
|
volumes:
|
|
- type: bind
|
|
source: ./crates/engine/tests/ndc-postgres-configuration
|
|
target: /etc/connector
|
|
read_only: true
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
|
|
custom_connector:
|
|
build:
|
|
dockerfile: custom-connector.Dockerfile
|
|
entrypoint:
|
|
- ./bin/custom-connector
|
|
ports:
|
|
- "8102:8102"
|
|
environment:
|
|
RUST_LOG: info
|
|
healthcheck:
|
|
test: curl -fsS http://localhost:8102/schema
|
|
start_period: 5s
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 20
|
|
|
|
custom_connector_ndc_v01:
|
|
# This is the v3-engine commit version before the custom connector got upgraded to ndc_models v0.2.0
|
|
image: ghcr.io/hasura/v3-custom-connector:bef8a750ca31b067952247ad348683a4faa843f5
|
|
ports:
|
|
- "8101:8101"
|
|
environment:
|
|
RUST_LOG: info
|
|
|
|
# Required to test graphql-ws; subscriptions with custom session variables
|
|
auth_hook:
|
|
build:
|
|
dockerfile: dev-auth-webhook.Dockerfile
|
|
environment:
|
|
RUST_LOG: debug
|
|
ports:
|
|
- "3050:3050"
|
|
|
|
volumes:
|
|
postgres:
|