Skip to content

Commit

Permalink
feat: configurable hasura exposed port
Browse files Browse the repository at this point in the history
  • Loading branch information
0xnigir1 committed Nov 5, 2024
1 parent 5989021 commit b278d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DATALAYER_POSTGRES_EXPOSED_PORT=5434
######################################################
############### DATALAYER HASURA API ###################
######################################################
DATALAYER_HASURA_EXPOSED_PORT=8082
DATALAYER_HASURA_ENABLE_CONSOLE=true
DATALAYER_HASURA_ADMIN_SECRET=my-admin-secret
DATALAYER_HASURA_UNAUTHORIZED_ROLE=public
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
api-hasura:
image: hasura/graphql-engine:latest
ports:
- "8082:8080"
- "${DATALAYER_HASURA_EXPOSED_PORT:-8082}:8080"
restart: always
env_file:
- .env
Expand Down

0 comments on commit b278d13

Please sign in to comment.