Installation File

FindFace installation configuration is automatically saved to a file /tmp/<findface-installer-*>.json. You can edit this file and use it to install FindFace on other hosts without having to answer the installation questions again.

Tip

See Deploy from Console Installer to learn more about the FindFace installer.

Important

Be sure to remove fields *.config, exp_ip, and int_ip before installing FindFace on a host with a different IP address.

Here is an example of the installation file:

{
  "product": "security",
  "python3-pil.variant": "avx2",
  "ignore_nolicense": true,
  "type": "stand-alone",
  "ext_ip.bind": "0.0.0.0",
  "ext_ip.advertised": "172.20.77.19",
  "inter_ip.advertised": "127.0.0.1",
  "inter_ip.bind": "127.0.0.1",
  "components": [
    "findface-data",
    "memcached",
    "etcd",
    "redis",
    "postgresql",
    "pgbouncer",
    "jq",
    "python3-pil",
    "findface-ntls",
    "findface-extraction-api",
    "findface-sf-api",
    "findface-counter",
    "findface-liveness-api",
    "findface-upload",
    "findface-video-manager",
    "findface-video-worker",
    "findface-security",
    "findface-tarantool-server"
  ],
  "tnt_instances": 4,
  "findface-video-worker.variant": "gpu",
  "findface-extraction-api.variant": "gpu",
  "findface-data.models": [
    "./findface-data-age.v1-cpu_3.0.0_all.deb",
    "./findface-data-age.v1-gpu_3.0.0_all.deb",
    "./findface-data-beard.v0-cpu_3.0.0_all.deb",
    "./findface-data-beard.v0-gpu_3.0.0_all.deb",
    "./findface-data-detector-cheetah-cpu_3.0.0_all.deb",
    "./findface-data-detector-cheetah-fast-cpu_3.0.0_all.deb",
    "./findface-data-detector-cheetah-fast-gpu_3.0.0_all.deb",
    "./findface-data-detector-cheetah-gpu_3.0.0_all.deb",
    "./findface-data-detector-mtcnn-cpu_3.0.0_all.deb",
    "./findface-data-emotions.v1-cpu_3.0.0_all.deb",
    "./findface-data-emotions.v1-gpu_3.0.0_all.deb",
    "./findface-data-gender.v2-cpu_3.0.0_all.deb",
    "./findface-data-gender.v2-gpu_3.0.0_all.deb",
    "./findface-data-glasses3.v0-cpu_3.0.0_all.deb",
    "./findface-data-glasses3.v0-gpu_3.0.0_all.deb",
    "./findface-data-ifruit-320-cpu_3.0.0_all.deb",
    "./findface-data-ifruit-320-gpu_3.0.0_all.deb",
    "./findface-data-jackfruit-160-cpu_3.0.0_all.deb",
    "./findface-data-jackfruit-160-gpu_3.0.0_all.deb",
    "./findface-data-jackfruit-320-cpu_3.0.0_all.deb",
    "./findface-data-jackfruit-320-gpu_3.0.0_all.deb",
    "./findface-data-jackfruit-480-cpu_3.0.0_all.deb",
    "./findface-data-jackfruit-480-gpu_3.0.0_all.deb",
    "./findface-data-liveness.alleyn.v2-cpu_3.0.0_all.deb",
    "./findface-data-liveness.alleyn.v2-gpu_3.0.0_all.deb",
    "./findface-data-medmask3.v2-cpu_3.0.0_all.deb",
    "./findface-data-medmask3.v2-gpu_3.0.0_all.deb",
    "./findface-data-normalization-ant.v2-cpu_3.0.0_all.deb",
    "./findface-data-normalization-ant.v2-gpu_3.0.0_all.deb",
    "./findface-data-normalization-bee-fast-cpu_3.0.0_all.deb",
    "./findface-data-normalization-bee-fast-gpu_3.0.0_all.deb",
    "./findface-data-normalization-bee.v2-cpu_3.0.0_all.deb",
    "./findface-data-normalization-bee.v2-gpu_3.0.0_all.deb",
    "./findface-data-normalization-crop2x.v2-maxsize400-cpu_3.0.0_all.deb",
    "./findface-data-normalization-crop2x.v2-maxsize400-gpu_3.0.0_all.deb",
    "./findface-data-pedet-edie-rc2-cpu_3.0.0_all.deb",
    "./findface-data-pedet-edie-rc2-gpu_3.0.0_all.deb",
    "./findface-data-quality.v1-cpu_3.0.0_all.deb",
    "./findface-data-quality.v1-gpu_3.0.0_all.deb"
  ],
  "facen_model": "face/jackfruit_480.gpu.fnk",
  "findface-extraction-api.config": {
    "listen": "127.0.0.1:18666",
    "license_ntls_server": "127.0.0.1:3133",
    "detectors": {
      "instances": 1,
      "quality_estimator": true
    },
    "normalizers": {
      "instances": 1
    },
    "extractors": {
      "instances": 1,
      "models": {
        "gender": "",
        "age": "",
        "emotions": "",
        "face": "face/jackfruit_480.gpu.fnk",
        "quality": "faceattr/quality.v1.gpu.fnk"
      }
    }
  },
  "findface-video-manager.config": {
    "listen": "127.0.0.1:18810",
    "master": {
      "self_url": "127.0.0.1:18811",
      "self_url_http": "127.0.0.1:18810"
    },
    "rpc": {
      "listen": "127.0.0.1:18811"
    },
    "ntls": {
      "enabled": false,
      "url": "http://127.0.0.1:3185/"
    }
  },
  "findface-facerouter.config": {
    "plugin_source": "dir",
    "host": "127.0.0.1",
    "port": "18820",
    "sfapi_url": "http://127.0.0.1:18411",
    "plugin_dir": "/etc/findface-facerouter-plugins"
  },
  "memcached.config": {
    "max_memory": 1024,
    "item_size": 16,
    "listen_host": "127.0.0.1"
  },
  "findface-video-worker.config": {
    "FKVD_MGR_ADDR": "127.0.0.1:18811",
    "FKVD_NTLS_ADDR": "127.0.0.1:3133",
    "FKVD_WRK_CAP": "30",
    "streamer": [
      "port = 18999",
      "url = 127.0.0.1:18999"
    ]
  },
  "findface-ntls.config": {
    "NTLS_LISTEN": "127.0.0.1:3133",
    "NTLS_LISTEN_UI": "127.0.0.1:3185",
    "NTLS_LICENSE_DIR": "/opt/ntech/license"
  },
  "findface-tarantool-server.config": {
    "shard-001": {
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-001",
      "TNT_LISTEN": "127.0.0.1:32001",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_FF_LISTEN_PORT": "8101",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-002": {
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-002",
      "TNT_LISTEN": "127.0.0.1:32002",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_FF_LISTEN_PORT": "8102",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-003": {
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-003",
      "TNT_LISTEN": "127.0.0.1:32003",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_FF_LISTEN_PORT": "8103",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-004": {
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-004",
      "TNT_LISTEN": "127.0.0.1:32004",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_FF_LISTEN_PORT": "8104",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_META_INDEXES": "meta_indexes"
    }
  },
  "findface-sf-api.config": {
    "listen": "127.0.0.1:18411",
    "extraction-api": {
      "extraction-api": "http://127.0.0.1:18666"
    },
    "storage-api": {
      "shards": [
        {
          "master": "http://127.0.0.1:8101/v2/",
          "slave": ""
        },
        {
          "master": "http://127.0.0.1:8102/v2/",
          "slave": ""
        },
        {
          "master": "http://127.0.0.1:8103/v2/",
          "slave": ""
        },
        {
          "master": "http://127.0.0.1:8104/v2/",
          "slave": ""
        }
      ]
    },
    "limits": {
      "allow-return-facen": true
    }
  },
  "findface-counter.config": {
    "listen": "127.0.0.1:18300",
    "database": {
      "connection_string": "dbname=ffcounter host=/var/run/postgresql sslmode=disable"
    }
  },
  "pgbouncer.config": {
    "ntech_password": "hva1xogfMUO3Mt6WdS4zyOXcaHs6zHOG"
  },
  "postgresql.config": {
    "ntech_password": "hva1xogfMUO3Mt6WdS4zyOXcaHs6zHOG"
  },
  "findface-security.config": {
    "SERVICE_EXTERNAL_ADDRESS": "http://172.20.77.19",
    "FFSECURITY": {
      "ROUTER_URL": "http://127.0.0.1"
    },
    "ntech_password": "hva1xogfMUO3Mt6WdS4zyOXcaHs6zHOG"
  }
}