diff --git a/.env.example b/.env.example index 79a19a5..18f17db 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/docker-compose.yaml b/docker-compose.yaml index 5f0b2b5..6726d24 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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