Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 1.9 KB

Configuration.md

File metadata and controls

22 lines (20 loc) · 1.9 KB

Configuration

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/ value
  • postgres_password - password for Postgres database. It should be changed for production systems from the default value.
  • postgres_domain - the domain where Postgres database is run
  • postgres_port - Postgres database port
  • enable_email_server - if true, it will enable 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 enable_email_server variable is true
  • email_username - a username of email provider for authentication. It should be set if enable_email_server variable is true
  • email_password - a password of email provider for authentication. It should be set if enable_email_server variable is true
  • email_from - this value will see users in from fields when they receive emails from CompreFace. Corresponds to From field in rfc2822. Optional, if not set, then email_username will be used instead
  • save_images_to_db - should the CompreFace save photos to the database. Be careful, migrations could be run only if this value is true
  • compreface_api_java_options - java options of compreface-api container
  • compreface_admin_java_options - java options of compreface-admin container
  • ADMIN_VERSION - docker image tag of compreface-admin container
  • API_VERSION - docker image tag of compreface-api container
  • FE_VERSION - docker image tag of compreface-fe container
  • CORE_VERSION - docker image tag of compreface-core container