docs/Configuration.md
In the release
archive and all custom builds, there is a .env file with configuration
options for CompreFace. For production systems, we recommend looking
through them and set up CompreFace accordingly
registry - this is the docker hub registry. For release and
pre-build images, it should be set to exadel/ valuepostgres_username - username for Postgres databasepostgres_password - password for Postgres database. It should be
changed for production systems from the default value.postgres_db - name for Postgres databasepostgres_domain - the domain where Postgres database is runpostgres_port - Postgres database portenable_email_server - if true, it enables email verification for
users. You should set email_host, email_username, and email_password
variables for the correct work.email_host - a host of the email provider. It should be set if the
enable_email_server variable is trueemail_username - a username of email provider for authentication.
It should be set if the enable_email_server variable is trueemail_password - a password of the email provider for
authentication. It should be set if the enable_email_server
variable is trueemail_from - this value reads users in the from fields when
they receive emails from CompreFace. Corresponds to From field in
rfc2822. Optional, if not set, then email_username is used insteadsave_images_to_db - should the CompreFace save photos to the
database. Be careful, migrations could be
run only if this value is true. Doesn't work in 0.6.0 and 0.6.1 version, please use 0.5.1 version or >0.6.1 version insteadcompreface_api_java_options - java options of compreface-api
containercompreface_admin_java_options - java options of compreface-admin
containermax_file_size - maximum image size acceptable to CompreFace. It must be less than or equal to max_request_sizemax_request_size - maximum request size for a multipart/form-data acceptable to CompreFace. It must be greater than or equal to
max_file_sizeuwsgi_processes - the number of uWSGI processesuwsgi_threads - the number of uWSGI threadsconnection_timeout - request connection timeout. It is used to set the connection timeout for the Nginx proxy and the Feign clientread_timeout - request read timeout. It is used to set the read timeout for the Nginx proxy and the Feign clientADMIN_VERSION - docker image tag of the compreface-admin containerAPI_VERSION - docker image tag of the compreface-api containerFE_VERSION - docker image tag of the compreface-fe containerCORE_VERSION - docker image tag of the compreface-core containerPOSTGRES_VERSION - docker image tag of the compreface-postgres-db containermax_detect_size - if the width or height of the input image exceeds this value, it will be resized to fit within this size