-
Notifications
You must be signed in to change notification settings - Fork 8
/
demo-poem-index.yml
33 lines (33 loc) · 1.35 KB
/
demo-poem-index.yml
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
version: '3.4'
services:
Frontend00:
image: gnes/gnes:latest-alpine
command: frontend --grpc_port 5566 --port_out 53463 --socket_out PUSH_BIND --port_in
57908 --socket_in PULL_BIND --route_table
ports:
- 5566:5566
Preprocessor10:
image: gnes/gnes:latest-alpine
command: preprocess --port_in 53463 --socket_in PULL_CONNECT --port_out 56264
--socket_out PUB_BIND --host_in Frontend00 --yaml_path SentSplitPreprocessor
Encoder20:
image: gnes/demo-poem:encode
command: --port_in 56264 --socket_in SUB_CONNECT --port_out 64886 --socket_out
PUSH_CONNECT --host_out Indexer30 --host_in Preprocessor10
Indexer30:
image: gnes/demo-poem:vector-index
command: --port_in 64886 --socket_in PULL_BIND --port_out 57909 --socket_out
PUSH_CONNECT --host_out Router40
volumes:
- ./.cache:/workspace
Indexer21:
image: gnes/gnes:latest-alpine
command: index --port_in 56264 --socket_in SUB_CONNECT --port_out 57909 --socket_out
PUSH_CONNECT --host_out Router40 --host_in Preprocessor10 --yaml_path /yaml/index.yml
volumes:
- ./.cache:/workspace
- ./fulltext-index:/yaml
Router40:
image: gnes/gnes:latest-alpine
command: route --num_part 2 --port_in 57909 --socket_in PULL_BIND --port_out 57908 --socket_out
PUSH_CONNECT --host_out Frontend00 --yaml_path BaseReduceRouter