-
Notifications
You must be signed in to change notification settings - Fork 167
Expand file tree
/
Copy pathapis.yaml
More file actions
51 lines (43 loc) · 866 Bytes
/
apis.yaml
File metadata and controls
51 lines (43 loc) · 866 Bytes
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
# yaml-language-server: $schema=https://www.membrane-api.io/v7.2.2.json
api:
port: 8080
flow:
- balancer:
sessionTimeout: 3600000
sessionIdExtractor: # TODO fix
sessionSource: $.id
language: jsonpath
clusters:
- name: Production
nodes: # Replace these with your backend nodes.
- host: localhost
port: 4000
- host: localhost
port: 4001
- host: localhost
port: 4002
---
# Mock nodes for testing. Remove them in production.
api:
port: 4000
name: Node 1
flow:
- counter: Node 1
---
api:
port: 4001
name: Node 2
flow:
- counter: Node 2
---
api:
port: 4002
name: Node 3
flow:
- counter: Node 3
---
api:
port: 9000
name: Administration
flow:
- adminConsole: {}