Skip to content

Configuration

Rhys Bartels-Waller edited this page Apr 24, 2020 · 17 revisions

ENVs

API_PORT: Number

Default: 3100

ALLOWED_ORIGINS: boolean | string | RegExp | (string | RegExp)[]

See CORS for more info

ENGINE_API_KEY: String

For use with Apollo Platform, or other compatible service to receive query traces.

HASURA_URI: String

Hasura GraphQL server endpoint eg http://localhost:8090/v1/graphql

QUERY_DEPTH_LIMIT: Number

Default 10 Used to set depthLimit

TRACING: Boolean

Passed as an option to ApolloServer