-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support FATE 1.3 and FATE-Serving 1.2.2
* Add delete method in docker_deploy script * Updated README Signed-off-by: Lu Peng <penglu@hydsoft.com>
- Loading branch information
Showing
20 changed files
with
668 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
######################################################## | ||
# Copyright 2019-2020 program was created VMware, Inc. # | ||
# SPDX-License-Identifier: Apache-2.0 # | ||
######################################################## | ||
|
||
version: '3' | ||
|
||
networks: | ||
fate-network: | ||
services: | ||
serving-server: | ||
image: "${PREFIX}/serving-server:${SERVING_TAG}" | ||
ports: | ||
- "8000:8000" | ||
volumes: | ||
- ./confs/serving-server/conf/serving-server.properties:/data/projects/fate/serving-server/conf/serving-server.properties | ||
- ./confs/serving-server/.fate:/root/.fate | ||
networks: | ||
- fate-network | ||
|
||
serving-proxy: | ||
image: "${PREFIX}/serving-proxy:${SERVING_TAG}" | ||
ports: | ||
- "8059:8059" | ||
- "8869:8869" | ||
expose: | ||
- 8879 | ||
volumes: | ||
- ./confs/serving-proxy/conf/application.properties:/data/projects/fate/serving-proxy/conf/application.properties | ||
- ./confs/serving-proxy/conf/route_table.json:/data/projects/fate/serving-proxy/conf/route_table.json | ||
networks: | ||
- fate-network | ||
|
||
redis: | ||
image: "redis:5" | ||
expose: | ||
- 6379 | ||
command: redis-server --requirepass fate_dev | ||
volumes: | ||
- ./confs/redis/data:/data | ||
networks: | ||
- fate-network | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
docker-deploy/docker-example-dir-tree/fate_flow/conf/server_conf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"servers": { | ||
"proxy": { | ||
"host": "proxy", | ||
"port": 9370 | ||
}, | ||
"fateboard": { | ||
"host": "fateboard", | ||
"port": 8080 | ||
}, | ||
"roll": { | ||
"host": "roll", | ||
"port": 8011 | ||
}, | ||
"fateflow": { | ||
"host": "python", | ||
"grpc.port": 9360, | ||
"http.port": 9380 | ||
}, | ||
"federation": { | ||
"host": "federation", | ||
"port": 9394 | ||
}, | ||
"clustercomm": { | ||
"host": "federation", | ||
"port": 9394 | ||
}, | ||
"servings": ["serving:8000"] | ||
} | ||
} |
Oops, something went wrong.