forked from membrane/api-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapis.yaml
More file actions
39 lines (33 loc) · 658 Bytes
/
apis.yaml
File metadata and controls
39 lines (33 loc) · 658 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
# yaml-language-server: $schema=https://www.membrane-api.io/v7.1.2.json
api:
port: 8080
flow:
- balancer:
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