Commit 3d198622 authored by ChakshuGautam's avatar ChakshuGautam
Browse files

Fix: Issues with hasura

Showing with 12 additions and 14 deletions
+12 -14
......@@ -98,8 +98,8 @@ services:
- ./redis_cache_data/:/data/
restart: unless-stopped
timescaledb:
container_name: timescaledb
tsdb:
container_name: tsdb
image: timescale/timescaledb:2.0.0-pg12
restart: always
ports:
......@@ -110,7 +110,7 @@ services:
POSTGRES_USER: timescaledb
POSTGRES_PASSWORD: postgrespassword
graphql-engine:
gql:
image: hasura/graphql-engine:latest
ports:
- "8080:8080"
......@@ -118,19 +118,17 @@ services:
- ./data/migrations:/hasura-migrations
- ./data/metadata:/hasura-metadata
depends_on:
- "timescaledb"
- "tsdb"
restart: always
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://timescaledb:postgrespassword@timescaledb:5432/postgres?sslmode=disable
## enable the console served by server
HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set to "false" to disable console
## enable debugging mode. It is recommended to disable this in production
HASURA_GRAPHQL_DEV_MODE: "true"
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup,http-log,webhook-log,websocket-log,query-log
## uncomment next line to set an admin secret
# HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey
HASURA_GRAPHQL_MIGRATIONS_DISABLE_TRANSACTION: "true"
HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets
- HASURA_GRAPHQL_DATABASE_URL=postgres://timescaledb:postgrespassword@tsdb:5432/postgres?sslmode=disable
- HASURA_GRAPHQL_ENABLE_CONSOLE=true # set to "false" to disable console
- HASURA_GRAPHQL_DEV_MODE=true
- HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup,http-log,webhook-log,websocket-log,query-log
- HASURA_GRAPHQL_MIGRATIONS_DISABLE_TRANSACTION=true
- HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets
- HASURA_GRAPHQL_ADMIN_SECRET=myadminsecretkey
- HASURA_GRAPHQL_JWT_SECRET={"type":"RS256","jwk_url":"https://auth.konnect.samagra.io/.well-known/jwks.json"}
networks:
db_net:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment