Skip to content

Latest commit

 

History

History

sw_service

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CL_for_ImageSegmentation_APP

img

docker compose

using docker compose to setup for redis, minio & postgresql

docker-compose up -d

Minio Setup

create two bucket named dataset & model, change access policy to public.

Celery startup

## start celery worker
celery -A celery_worker worker --loglevel=info --concurrency=1 --pool=solo

Fastapi startup

## start fastapi app
python app.py

API test

you can use the postman collection for api-testing.

There are also some useful files for testing at samples

  • postman collection: cl_app.postman_collection.json
  • dataset zip sample: dataset.zip