Questions tagged [hasura-docker]

36 questions
8
votes
3 answers

docker-compose Error: FileNotFoundError: [Errno 2] No such file or directory

I am trying to compose a Docker file with a YML file as below. version: '3.6' services: postgres: image: postgres:12 restart: always volumes: - db_data:/var/lib/postgresql/data environment: POSTGRES_PASSWORD:…
Harsha M V
  • 54,075
  • 125
  • 354
  • 529
3
votes
0 answers

Hasura metadata apply fails with "key "tables" not found"

I try to apply my local hasura metadata(tables.yaml) file on my server, using hasura metadata apply --admin-secret=password --endpoint=http://my-server:9999 It always ends with: "FATA[0000] error applying metadata { "path": "$.args", "error":…
benams
  • 4,308
  • 9
  • 32
  • 74
2
votes
1 answer

Hasura anonymus role permission, API not exposed

I am using Hasura for a project. When I give permission for the public (API exposed for everybody), then no API is exposed in the API section of Hasura. In this case I only X-Hasura-Role public in headers. But all APIs for role public are exposed…
noob_developer
  • 183
  • 3
  • 11
2
votes
1 answer

Hasura action handler does not exist (Name or service not known)

I have an instance of Hasura running in the Docker container and action handler API written in NodeJS/Express running directly on the machine. When I test everything locally it works like a charm ( macOS M1 ), but when I replicate the same setup on…
2
votes
1 answer

Resource does not exist error on hasura while github ci cd

I am trying to setup github ci cd with hasura... I did everything as document said so, but since I am applying change locally on database, on cloud deployment it is saying table already exist while applying migration (which is logically…
1
vote
1 answer

How to pass header in hasura-session?

I am running a hasura project and I am using compute field in hasura. How can I pass and get the header in the query? There is already an open issue, but people are talking about a workaround as well but it didn't work out for me. Here is…
1
vote
2 answers

Hasura Graphql JWT Issue

I have deployed my Hasura Engine which is running inside a docker in a Linux server. And I have developed my jwt token auth code using nodeJs. The problem is while adding the token to my Hasura API end point I am getting the below error: { …
eboi
  • 131
  • 6
1
vote
1 answer

How can I setup hasura docker compose and traefik to access outside api for actions

I'm setting up 3 docker-compose file one contains the treafik proxy, the other one is my api to handle actions, and lastly a hasura service. My problem is having my hasura actions connect to the other service define in a different docker-compose…
1
vote
0 answers

Hasura connecting to graphql-engine server failed

I'm migrating hasura from v1.1 (with config v1) to v2.10 (with config v3). Locally, I had no issue. I followed this guide When deploying to test, I can't make it work. I'm using the hasura/graphql-engine.v2.9.10.cli-migrations-v3 image. I recreated…
Clément Drouin
  • 187
  • 2
  • 11
1
vote
1 answer

Should the official Hasura docker-compose.yml connect to postgress straight away?

I have to do a little hasura project for my university and i have to post the exercise using docker compose. The problem is: I have to manually enter the Hasura UI and connect to the postgres database. Is there a way to automatically connect hasura…
MajesticOl
  • 311
  • 1
  • 20
0
votes
1 answer

How to access Hasura metadata programmatically?

I am new to Hasura GraphQL. I have this problem that I am trying to solve. I want to fetch all the hasura role and all the columns from all the tables. I earlier thought there will be some command that I can use to get these information but I am…
hpal007
  • 191
  • 3
  • 20
0
votes
0 answers

Cant access Hasura console in macbook m2

I am trying to setup hasura/graphql API in docker compose environment and the server starts well. However, when I try to access the console by running hasura console it returns an error. The error is: FATA[0000] making http request failed Get…
tmk
  • 1
  • 2
0
votes
0 answers

How to expose Hasura (docker container) metrics to Prometheus

Says that I already had a Hasura container running on cloud, so I want to monitor the Hasura container performance with Prometheus and Grafana. From the Hasura official docs here, it says I need to set these env variables…
0
votes
0 answers

Why hasura has low performance with aiohttp?

I use Hasura as graphql server as docker container. Also I use aiohttp to request hasura from another docker container and get a very slow RPS and actually hasura query execution time is big also. But when I made a stress test hasura using locust I…
v-ampire
  • 13
  • 1
  • 3
0
votes
2 answers

How to apply Hasura JSON metadata, which was generated from Hasura console, to Hasura docker container?

I plan to deploy Hasura Docker container into Kubernetes cluster. So I got a Hasura metadata JSON file (hasura_metadata_2023_02_23_16_59_45_407.json), which was generated form one Hasura via its setting in web console. My question how can I use this…
Jackk-Doe
  • 109
  • 7
1
2 3