mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
3357f970e9
<!-- The PR description should answer 2 (maybe 3) important questions: --> ### What We have a bunch of local development infra for building the engine inside a Docker container. This is helpful for Buildkite which doesn't come with stuff like `cargo` preinstalled. We've not using Buildkite anymore, let's remove it. V3_GIT_ORIGIN_REV_ID: b4b7679aab5b14081288df25d139944f160a61fe
49 lines
1.1 KiB
YAML
49 lines
1.1 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"
|
|
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
|
|
|
|
volumes:
|
|
postgres:
|