Merge pull request #52 from SDSRV-IDP/tuanlv/fast_deploy
Tuanlv/fast deploy
This commit is contained in:
commit
7c1b03bf35
@ -15,7 +15,9 @@ RUN pip install mmcv==1.6.0 -f https://download.openmmlab.com/mmcv/dst/cu116/tor
|
|||||||
RUN ln -s /opt/conda/lib/python3.10/site-packages/torch/lib/libcudnn.so.8 /usr/lib/libcudnn.so && \
|
RUN ln -s /opt/conda/lib/python3.10/site-packages/torch/lib/libcudnn.so.8 /usr/lib/libcudnn.so && \
|
||||||
ln -s /opt/conda/lib/libcublas.so /usr/lib/libcublas.so
|
ln -s /opt/conda/lib/libcublas.so /usr/lib/libcublas.so
|
||||||
|
|
||||||
RUN python -m pip install paddlepaddle-gpu==2.4.2.post116 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html --no-cache-dir
|
# RUN python -m pip install paddlepaddle-gpu==2.4.2.post116 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html --no-cache-dir
|
||||||
|
RUN pip install fastdeploy-gpu-python==1.0.7 -f https://www.paddlepaddle.org.cn/whl/fastdeploy.html --no-cache-dir
|
||||||
|
|
||||||
|
|
||||||
RUN python -m pip install 'git+https://github.com/facebookresearch/detectron2.git' --no-cache-dir
|
RUN python -m pip install 'git+https://github.com/facebookresearch/detectron2.git' --no-cache-dir
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit d01de312ab86db554ffa2f1b01396ef8d56b78ed
|
Subproject commit 671d7917c657ad185a06772e0b707b45fe59788a
|
@ -73,11 +73,11 @@ services:
|
|||||||
- S3_BUCKET_NAME=${S3_BUCKET_NAME}
|
- S3_BUCKET_NAME=${S3_BUCKET_NAME}
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000
|
- 6000:9000
|
||||||
networks:
|
networks:
|
||||||
- ctel-sbt
|
- ctel-sbt
|
||||||
volumes:
|
volumes:
|
||||||
# - BE_media:${MEDIA_ROOT}
|
- BE_media:${MEDIA_ROOT}
|
||||||
- BE_static:/app/static
|
- BE_static:/app/static
|
||||||
- ./cope2n-api:/app
|
- ./cope2n-api:/app
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
@ -101,8 +101,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./data/minio_data:/data
|
- ./data/minio_data:/data
|
||||||
ports:
|
ports:
|
||||||
- 9884:9884
|
- 6884:9884
|
||||||
- 9885:9885
|
- 6885:9885
|
||||||
networks:
|
networks:
|
||||||
- ctel-sbt
|
- ctel-sbt
|
||||||
restart: always
|
restart: always
|
||||||
@ -170,7 +170,7 @@ services:
|
|||||||
rabbitmq-sbt:
|
rabbitmq-sbt:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
volumes:
|
volumes:
|
||||||
# - BE_media:${MEDIA_ROOT}
|
- BE_media:${MEDIA_ROOT}
|
||||||
- ./cope2n-api:/app
|
- ./cope2n-api:/app
|
||||||
|
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
@ -191,7 +191,7 @@ services:
|
|||||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||||
- POSTGRES_DB=${DB_SCHEMA}
|
- POSTGRES_DB=${DB_SCHEMA}
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 54321:5432
|
||||||
|
|
||||||
rabbitmq-sbt:
|
rabbitmq-sbt:
|
||||||
mem_reservation: 600m
|
mem_reservation: 600m
|
||||||
@ -215,7 +215,7 @@ services:
|
|||||||
shm_size: 10gb
|
shm_size: 10gb
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- 9881:80
|
- 6881:80
|
||||||
depends_on:
|
depends_on:
|
||||||
be-ctel-sbt:
|
be-ctel-sbt:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 220954c5c6bfed15e93e26b2adacf28ff8b75baf
|
|
Loading…
Reference in New Issue
Block a user