Skip to content

Commit

Permalink
update fateboard version & update docker-compose-eggroll & generate_c…
Browse files Browse the repository at this point in the history
…onfig

Signed-off-by: robbie228 <[email protected]>
  • Loading branch information
robbie228 committed Sep 3, 2024
1 parent 530bc34 commit beeb2e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-deploy/.env
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ KubeFATE_Version=v2.2.0-release
FATEFlow_IMAGE="federatedai/fateflow"
FATEFlow_IMAGE_TAG="2.2.0-release"
FATEBoard_IMAGE="federatedai/fateboard"
FATEBoard_IMAGE_TAG="2.1.1-release"
FATEBoard_IMAGE_TAG="2.2.0-release"
MySQL_IMAGE="mysql"
MySQL_IMAGE_TAG="8.0.28"
Client_IMAGE="federatedai/client"
Expand Down
8 changes: 4 additions & 4 deletions docker-deploy/generate_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,10 @@ GenerateConfig() {

# Start the general config rendering
# fateboard
sed -i "s#^server.port=.*#server.port=${fateboard_port}#g" ./confs-"$party_id"/confs/fateboard/conf/application.properties
sed -i "s#^fateflow.url=.*#fateflow.url=http://${fate_flow_ip}:${fate_flow_http_port}#g" ./confs-"$party_id"/confs/fateboard/conf/application.properties
sed -i "s#<server.board.login.username>#${fateboard_username}#g" ./confs-"$party_id"/confs/fateboard/conf/application.properties
sed -i "s#<server.board.login.password>#${fateboard_password}#g" ./confs-"$party_id"/confs/fateboard/conf/application.properties
sed -i "s#^server.port=.*#server.port=${fateboard_port}#g" ./confs-"$party_id"/confs/fate_board/conf/application.properties
sed -i "s#^fateflow.url=.*#fateflow.url=http://${fate_flow_ip}:${fate_flow_http_port}#g" ./confs-"$party_id"/confs/fate_board/conf/application.properties
sed -i "s#<server.board.login.username>#${fateboard_username}#g" ./confs-"$party_id"/confs/fate_board/conf/application.properties
sed -i "s#<server.board.login.password>#${fateboard_password}#g" ./confs-"$party_id"/confs/fate_board/conf/application.properties

echo fateboard module of "$party_id" done!

Expand Down
2 changes: 1 addition & 1 deletion docker-deploy/training_template/docker-compose-eggroll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ services:
- "-c"
- |
set -x
pip install cryptography && sleep 5 && python fate_flow/python/fate_flow/fate_flow_server.py --debug
pkill -9 -f fate && sleep 5 && python fate_flow/python/fate_flow/fate_flow_server.py --debug
python /data/projects/fate/eggroll/python/setup.py install
sleep 10 && pipeline init --ip fateflow --port 9380
flow init --ip fateflow --port 9380
Expand Down

0 comments on commit beeb2e1

Please sign in to comment.