Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-workflow
Commits
3d198622
Commit
3d198622
authored
2 years ago
by
ChakshuGautam
Browse files
Options
Download
Patches
Plain Diff
Fix: Issues with hasura
parent
8a797ae7
main
dev
feat/centro
feature/formlistapi
fix/remove-forms
revert-67-contributeByGitpod
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.gitpod.yaml
+12
-14
docker-compose.gitpod.yaml
with
12 additions
and
14 deletions
+12
-14
docker-compose.gitpod.yaml
+
12
−
14
View file @
3d198622
...
...
@@ -98,8 +98,8 @@ services:
-
./redis_cache_data/:/data/
restart
:
unless-stopped
t
imescale
db
:
container_name
:
t
imescale
db
t
s
db
:
container_name
:
t
s
db
image
:
timescale/timescaledb:2.0.0-pg12
restart
:
always
ports
:
...
...
@@ -110,7 +110,7 @@ services:
POSTGRES_USER
:
timescaledb
POSTGRES_PASSWORD
:
postgrespassword
g
raphql-engine
:
g
ql
:
image
:
hasura/graphql-engine:latest
ports
:
-
"
8080:8080"
...
...
@@ -118,19 +118,17 @@ services:
-
./data/migrations:/hasura-migrations
-
./data/metadata:/hasura-metadata
depends_on
:
-
"
t
imescale
db"
-
"
t
s
db"
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
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets