Skip to content

Commit

Permalink
update default version of the docker to 3.0.0 (#203)
Browse files Browse the repository at this point in the history
* update default version of the docker to 3.0.0

* update pypip url
  • Loading branch information
cyjseagull authored Dec 15, 2024
1 parent 514e696 commit 5cd7a9c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
5 changes: 2 additions & 3 deletions docker-files/jupyter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ RUN chmod -R 777 /home/share/
# install jupyter
RUN pip install --no-cache-dir -i https://pypi.mirrors.ustc.edu.cn/simple/ -r root/requirements.txt

# TODO: use the non-test pip after uploaded
RUN pip install --no-cache-dir -i https://test.pypi.org/simple/ wedpr-authenticator
RUN pip install --no-cache-dir -i https://test.pypi.org/simple/ wedpr-ml-toolkit
RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple wedpr-authenticator
RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple wedpr-ml-toolkit
4 changes: 1 addition & 3 deletions docker-files/site/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ COPY depends/requirements.txt /root/requirements.txt
# install the requirements
RUN pip install --no-cache-dir -i https://pypi.mirrors.ustc.edu.cn/simple/ -r root/requirements.txt

# TODO: use the non-test pip after uploaded

RUN pip install --no-cache-dir -i https://test.pypi.org/simple/ wedpr_mpc_generator
RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple wedpr_mpc_generator

# install nginx
RUN apt-get update && apt-get install --no-install-recommends -y nginx
Expand Down
16 changes: 8 additions & 8 deletions wedpr-builder/conf/config-example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ wedpr_model_source_path = "/data/home/wedpr/WeDPR-Component/python/"
docker_mode = true

#### define the docker images desc ###
wedpr_gateway_service_image_desc = "fiscoorg/wedpr-gateway-service:latest"
wedpr_node_service_image_desc = "fiscoorg/wedpr-pro-node-service:latest"
wedpr_mpc_service_image_desc = "fiscoorg/wedpr-mpc-service:latest"
wedpr_jupyter_worker_image_desc = "fiscoorg/wedpr-jupyter-worker:latest"
wedpr_model_image_desc = "fiscoorg/wedpr-model-service:latest"
wedpr_site_image_desc = "fiscoorg/wedpr-site:latest"
wedpr_pir_image_desc = "fiscoorg/wedpr-pir:latest"
wedpr_gateway_service_image_desc = "fiscoorg/wedpr-gateway-service:v3.0.0"
wedpr_node_service_image_desc = "fiscoorg/wedpr-pro-node-service:v3.0.0"
wedpr_mpc_service_image_desc = "fiscoorg/wedpr-mpc-service:v3.0.0"
wedpr_jupyter_worker_image_desc = "fiscoorg/wedpr-jupyter-worker:v3.0.0"
wedpr_model_image_desc = "fiscoorg/wedpr-model-service:v3.0.0"
wedpr_site_image_desc = "fiscoorg/wedpr-site:v3.0.0"
wedpr_pir_image_desc = "fiscoorg/wedpr-pir:v3.0.0"


deploy_dir = "wedpr-example"
Expand Down Expand Up @@ -107,7 +107,7 @@ wedpr_api_token = ""
host = "127.0.0.1"
port = "3306"
user = "root"
password = "Admin123!"
password = ""
database = "agency0"

#configuration for wedpr site
Expand Down

0 comments on commit 5cd7a9c

Please sign in to comment.