hasura-graphql 集成 pipelinedb 1.0.0

2022-03-01 00:00:00 数据 专区 订阅 付费 添加

pipelinedb 1.0.0 已经是一个标准的pg 扩展了,同时以前的语法也有变动,但是集成进hasura-graphql 更方便了

使用docker-compose 运行

环境准备

  • docker-compose 文件
version: "3"
services:
  db:
   image: dalongrong/pipelinedb:1.0.0
   environment:
   - "POSTGRES_PASSWORD=dalongdemo"
   ports:
   - "5432:5432"
  graphql-engine:
    image: hasura/graphql-engine:v1.0.0-alpha25
    ports:
    - "8080:8080"
    environment:
    - "POSTGRES_PASSWORD:dalongdemo"
    command: >
      /bin/sh -c "
      graphql-engine --database-url postgres://postgres:dalongdemo@db/postgres serve --enable-console;
      "

相关文章