service_conf.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. use_registry: false
  2. use_deserialize_safe_module: false
  3. dependent_distribution: false
  4. encrypt_password: false
  5. encrypt_module: fate_arch.common.encrypt_utils#pwdecrypt
  6. private_key:
  7. party_id:
  8. hook_module:
  9. client_authentication: fate_flow.hook.flow.client_authentication
  10. site_authentication: fate_flow.hook.flow.site_authentication
  11. permission: fate_flow.hook.flow.permission
  12. hook_server_name:
  13. authentication:
  14. client:
  15. switch: false
  16. http_app_key:
  17. http_secret_key:
  18. site:
  19. switch: false
  20. permission:
  21. switch: false
  22. component: false
  23. dataset: false
  24. fateflow:
  25. # you must set real ip address, 127.0.0.1 and 0.0.0.0 is not supported
  26. host: 127.0.0.1
  27. http_port: 9380
  28. grpc_port: 9360
  29. # when you have multiple fateflow server on one party,
  30. # we suggest using nginx for load balancing.
  31. nginx:
  32. host:
  33. http_port:
  34. grpc_port:
  35. # use random instance_id instead of {host}:{http_port}
  36. random_instance_id: false
  37. # support rollsite/nginx/fateflow as a coordination proxy
  38. # rollsite support fate on eggroll, use grpc protocol
  39. # nginx support fate on eggroll and fate on spark, use http or grpc protocol, default is http
  40. # fateflow support fate on eggroll and fate on spark, use http protocol, but not support exchange network mode
  41. # format(proxy: rollsite) means rollsite use the rollsite configuration of fate_one_eggroll and nginx use the nginx configuration of fate_one_spark
  42. # you also can customize the config like this(set fateflow of the opposite party as proxy):
  43. # proxy:
  44. # name: fateflow
  45. # host: xx
  46. # http_port: xx
  47. # grpc_port: xx
  48. proxy: rollsite
  49. # support default/http/grpc
  50. protocol: default
  51. database:
  52. name: fate_flow
  53. user: fate
  54. passwd: fate
  55. host: 127.0.0.1
  56. port: 3306
  57. max_connections: 100
  58. stale_timeout: 30
  59. zookeeper:
  60. hosts:
  61. - 127.0.0.1:2181
  62. use_acl: false
  63. user: fate
  64. password: fate
  65. # engine services
  66. default_engines:
  67. computing: standalone
  68. federation: standalone
  69. storage: standalone
  70. fate_on_standalone:
  71. standalone:
  72. cores_per_node: 20
  73. nodes: 1
  74. fate_on_eggroll:
  75. clustermanager:
  76. cores_per_node: 16
  77. nodes: 1
  78. rollsite:
  79. host: 127.0.0.1
  80. port: 9370
  81. fate_on_spark:
  82. spark:
  83. # default use SPARK_HOME environment variable
  84. home:
  85. cores_per_node: 20
  86. nodes: 2
  87. linkis_spark:
  88. cores_per_node: 20
  89. nodes: 2
  90. host: 127.0.0.1
  91. port: 9001
  92. token_code: MLSS
  93. python_path: /data/projects/fate/python
  94. hive:
  95. host: 127.0.0.1
  96. port: 10000
  97. auth_mechanism:
  98. username:
  99. password:
  100. linkis_hive:
  101. host: 127.0.0.1
  102. port: 9001
  103. hdfs:
  104. name_node: hdfs://fate-cluster
  105. # default /
  106. path_prefix:
  107. rabbitmq:
  108. host: 192.168.0.4
  109. mng_port: 12345
  110. port: 5672
  111. user: fate
  112. password: fate
  113. # default conf/rabbitmq_route_table.yaml
  114. route_table:
  115. # mode: replication / client, default: replication
  116. mode: replication
  117. max_message_size: 1048576
  118. pulsar:
  119. host: 192.168.0.5
  120. port: 6650
  121. mng_port: 8080
  122. cluster: standalone
  123. # all parties should use a same tenant
  124. tenant: fl-tenant
  125. # message ttl in minutes
  126. topic_ttl: 30
  127. # default conf/pulsar_route_table.yaml
  128. route_table:
  129. # mode: replication / client, default: replication
  130. mode: replication
  131. max_message_size: 1048576
  132. nginx:
  133. host: 127.0.0.1
  134. http_port: 9300
  135. grpc_port: 9310
  136. # external services
  137. fateboard:
  138. host: 127.0.0.1
  139. port: 8080
  140. enable_model_store: false
  141. model_store_address:
  142. # use mysql as the model store engine
  143. # storage: mysql
  144. # database: fate_model
  145. # user: fate
  146. # password: fate
  147. # host: 127.0.0.1
  148. # port: 3306
  149. # other optional configs send to the engine
  150. # max_connections: 10
  151. # stale_timeout: 10
  152. # use tencent cos as model store engine
  153. storage: tencent_cos
  154. Region:
  155. SecretId:
  156. SecretKey:
  157. Bucket:
  158. servings:
  159. hosts:
  160. - 127.0.0.1:8000
  161. fatemanager:
  162. host: 127.0.0.1
  163. port: 8001
  164. federatedId: 0