forked from FederatedAI/FATE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice_conf.yaml
73 lines (72 loc) · 1.57 KB
/
service_conf.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
71
72
work_mode: 1
use_registry: false
fateflow:
# you must set real ip address or 127.0.0.1, 0.0.0.0 is not supported
host: 127.0.0.1
http_port: 9380
grpc_port: 9360
# support rollsite or nginx as a coordinate proxy, rollsite recommended in the fate on eggroll, nginx is recommended in the fate on spark
# format(proxy: rollsite) means rollsite use the rollsite configuration of fate_one_eggroll and nginx use the nginx configuration of fate_one_spark
# you can customize the config by format(proxy:\n name: rollsite \n host: xx \n port: xx)
proxy: rollsite
fateboard:
host: 127.0.0.1
port: 8080
database:
name: fate_flow
user: fate
passwd: fate
host: 127.0.0.1
port: 3306
max_connections: 100
stale_timeout: 30
fate_on_eggroll:
clustermanager:
cores_per_node: 20
nodes: 1
rollsite:
host: 127.0.0.1
port: 9370
fate_on_spark:
spark:
# default use SPARK_HOME environment variable
home:
cores_per_node: 20
nodes: 2
hdfs:
name_node: hdfs://fate-cluster
# default /
path_prefix:
rabbitmq:
host: 192.168.0.4
mng_port: 12345
port: 5672
user: fate
password: fate
# default conf/rabbitmq_route_table.yaml
route_table:
nginx:
host: 127.0.0.1
port: 9390
model_store_address:
storage: mysql
name: model
host: 127.0.0.1
port: 3306
user: fate
passwd: fate
max_connections: 10
stale_timeout: 10
servings:
hosts:
- 127.0.0.1:8000
zookeeper:
hosts:
- 127.0.0.1:2281
use_acl: true
user: fate
password: fate
fatemanager:
host: 127.0.0.1
port: 8001
federatedId: 0