Questions tagged [hasura-docker]
36 questions
0
votes
0 answers
pagination on Hasura table and relationship - Relay API Hasura
I am working on a project where I need to get the combined pageInfo from Hasura Realy API.
I have one table and one relationship on table. I want to get the pageInfo like endCursor and startCursor hasNextPage flag so I can control the limit on the…
0
votes
0 answers
Hasura postgres connection failed/ refuses to connect?
Hello I was trying to connect Hasura to an already existing database of postgres.
i tried all three menthods as ENV variables, URL, connection parameters.
note that I have docker of both hasura and postgress in diffrent docker compose:
Folloowing…

Ved j
- 1
0
votes
1 answer
How to connect Docker Hasura to more multiple Postgre database?
Says that I have a Hasura running in Container (inside a Kubernetes) and I want this container hasura to connect to 3 different Postgre databases.
Is there a way to configure this without using Hasura console web page, since this has thing to do…

Jackk-Doe
- 109
- 7
0
votes
1 answer
Is it possible to configure default roles for Hasura in config files?
I'm using hasura via docker. By default there is only admin role and I can add more roles using UI, but after I make restart docker there is only admin again.
Is it possible to setup default user and permissions in config files?

v-ampire
- 13
- 1
- 3
0
votes
2 answers
Problem to export Hasura metadata - FATA[0001] failed to export metadata
Im trying to export the hasura metadata but i'm receiving this error after running the command hasura metadata export :
FATA[0001] failed to export metadata: cannot export actions from metadata: error parsing metadata
object: actions
file:…

Francisco Pessoa
- 21
- 3
0
votes
0 answers
Is it possible to use any other database other than PostgreSQL as Hasura metadata database?
When I'm trying to user any other database except Postgres as HASURA_GRAPHQL_METADATA_DATABASE_URL, it doesn't seem to work and gives me the following error
"{"detail":{"info":{"code":"postgres-error","error":"connection error","internal":"invalid…

Elan cheziyan
- 1
- 1
- 1
0
votes
1 answer
Connection refused - Cannot connect Hasura to Postgres in local Kubernetes
I'm trying to run Hasura locally in K8s. I have go 2 deployment files and 2 svc files respectively.
# Hasura Deployment
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: hasura
hasuraService: custom
name: hasura
namespace:…

HelmBurger
- 1,168
- 5
- 15
- 35
0
votes
0 answers
CI testing on github actions
Good day everyone, i have this issue that i have been struggling with since Friday. i'm trying to write a CI test using github actions, but hasura migrate apply keeps throwing this error - level=fatal msg="database not found: error determining…

stanley oguazu
- 31
- 9
0
votes
1 answer
What is the best way to version control the db schema & metadata in Hasura Cloud?
We've ran into an issue where we have the db backed up, but migrations got out of sorts and as a result there are a lot of GraphQL queries in our frontend code that don't match up to the db relationships at all.
I'm new to the project, but it looks…

corysimmons
- 7,296
- 4
- 57
- 65
0
votes
1 answer
How to map correctly to make `x-hasura-allowed-roles` field an array using claims_map in Hasura?
I have a JWT token which looks like
{
"aud": "xx",
"iss": "http://xx.com/adfs/services/trust",
"iat": 1649956864,
"exp": 1649960464,
"apptype": "xx",
"appid": "dcf6c0d8-7f3c-4904-a0c9-852c92c7624f",
"authmethod": "http://xx",
…

Hongbo Miao
- 45,290
- 60
- 174
- 267
0
votes
1 answer
Running different Hasura apps with one Postgres
I have two different applications Build with Hasura as the backend and I would like both of them to use the same Postgres instance. Would I encounter any difficulties making this happen? Is it even possible? And what do I need to take into account…

Samuel E.
- 2,320
- 2
- 26
- 31
0
votes
1 answer
Getting internal exception while executing pg_dump when trying to get the init migrations from hasura
I want to get the latest migrations from my hasura endpoint to my local filesystem.
Command I'm trying to run
hasura init config --endpoint someendpoint.cloudfront.net/ --admin-secret mysecret
Output
INFO Metadata exported …

Kanhaya Ky
- 1
- 2
0
votes
1 answer
Is it possible to export REST endpoints APIs in Hasura?
I am trying to move from a development Stack (that means a Docker stack) to an existing (but empty) production stack. Both of them are up with a docker-compose.
I am using two different Portainer environments if it is useful to know.
I'd like to…

morphineglelly
- 107
- 7
0
votes
1 answer
Why I cannot access the port of my machine from hasura?
I am trying to create the trigger in Hasura, I've created a local API runing o port 5000 that is this
const express = require('express')
const bodyParser = require('body-parser');
const cors = require('cors')
const app = express()
app.use(cors({
…

geraktOfRivia
- 325
- 3
- 7
- 19
0
votes
0 answers
Hasura installation problem using docker - PostgreSQL not responding
I want to install Hasura using docker. According to the Hasura doc, I created the docker-compose.yml file. then I compose docker with docker-compose up. In my terminal log, a message comes LOG: database system is ready to accept connections. But…

noob_developer
- 183
- 3
- 11