-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.dev.yaml
70 lines (57 loc) · 1.24 KB
/
config.dev.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
supergraph:
listen: "${env.LISTEN_ADDRESS}"
path: /graphql
introspection: true
health_check:
enabled: true
listen: "${env.LISTEN_ADDRESS}"
path: /health
homepage:
enabled: false
include_subgraph_errors:
all: true
override_subgraph_url:
identity: "${env.IDENTITY_ADDRESS}/graphql"
portal: "${env.PORTAL_ADDRESS}/graphql"
cors:
match_origins:
- '.*'
allow_credentials: true
allow_headers:
- x-apollo-operation-name
- apollo-require-preflight
- content-type
- event-domain
- event-slug
- authorization
csrf:
required_headers:
- cf-ray
- x-apollo-operation-name
- apollo-require-preflight
traffic_shaping:
all:
experimental_http2: http2only
plugins:
thehackerapp.authentication:
upstream: "${env.IDENTITY_ADDRESS}/context"
thehackerapp.current_user:
listen: "${env.LISTEN_ADDRESS}"
path: /me
upstream: "${env.IDENTITY_ADDRESS}/context"
thehackerapp.proxy:
listen: "${env.LISTEN_ADDRESS}"
routes:
- path: /oauth/*rest
upstream: "${env.IDENTITY_ADDRESS}"
experimental.expose_query_plan: true
telemetry:
instrumentation:
spans:
mode: spec_compliant
exporters:
logging:
stdout:
enabled: true
format: text