Open 2356731420 opened 2 years ago
- Port 4200 is only for UI developers. If you just want to use CompreFace, follow our Getting Started guide: https://github.com/exadel-inc/CompreFace/blob/master/README.md#getting-started-with-compreface
- Here is the issue related to it: How can I remove the 5MB upload limit #680
Sorry. Firstly, I change the application.yml with 10Mb value to 100Mb, then use docker-compose up -d
and sh start.h
to build Compreface. But it still looks like have a 5Mb limit when I use the python-sdk.
Is there something wrong with my operation? I'm sorry to bother you
to build CompreFace you need:
docker-compose build
docker-compose up
This is it. CompreFace will be on 8000 port.
4200 port is needed only for development, you shouldn't use it for production. To fix second issue:
1. Edit file nginx.conf: Set client_max_body_size 50M;
2. Edit file docker-compose.yml, add volumes to compreface-core:
volumes:
- nginx_conf_volume:/etc/nginx/conf.d
nginx_conf_volume should be also declared on top of file:
volumes:
- nginx_conf_volume:
3. Run command: docker-compose up
4. Copy nginx.conf: docker cp /path/to/nginx.conf compreface-ui:/etc/nginx/conf.d
5. Restart compose.
Hello,I have two questions.