Installation FileΒΆ

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

Tip

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

Important

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

Here is an example of the installation file:

{
  "findface-tarantool-server.config": {
    "shard-003": {
      "TNT_FF_LISTEN_PORT": "8103",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-003",
      "TNT_LISTEN": "127.0.0.1:32003",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-004": {
      "TNT_FF_LISTEN_PORT": "8104",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-004",
      "TNT_LISTEN": "127.0.0.1:32004",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-008": {
      "TNT_FF_LISTEN_PORT": "8108",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-008",
      "TNT_LISTEN": "127.0.0.1:32008",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-001": {
      "TNT_FF_LISTEN_PORT": "8101",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-001",
      "TNT_LISTEN": "127.0.0.1:32001",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-006": {
      "TNT_FF_LISTEN_PORT": "8106",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-006",
      "TNT_LISTEN": "127.0.0.1:32006",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-005": {
      "TNT_FF_LISTEN_PORT": "8105",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-005",
      "TNT_LISTEN": "127.0.0.1:32005",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-002": {
      "TNT_FF_LISTEN_PORT": "8102",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-002",
      "TNT_LISTEN": "127.0.0.1:32002",
      "TNT_META_INDEXES": "meta_indexes"
    },
    "shard-007": {
      "TNT_FF_LISTEN_PORT": "8107",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/findface-security/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-007",
      "TNT_LISTEN": "127.0.0.1:32007",
      "TNT_META_INDEXES": "meta_indexes"
    }
  },
  "findface-video-worker.variant": "cpu",
  "product": "security",
  "ignore_nolicense": true,
  "findface-sf-api.config": {
    "extraction-api": {
      "extraction-api": "http://127.0.0.1:18666"
    },
    "limits": {
      "allow-return-facen": true
    },
    "listen": "127.0.0.1:18411",
    "storage-api": {
      "shards": [
        {
          "slave": "",
          "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": "",
          "master": "http://127.0.0.1:8105/v2/"
        },
        {
          "slave": "",
          "master": "http://127.0.0.1:8106/v2/"
        },
        {
          "slave": "",
          "master": "http://127.0.0.1:8107/v2/"
        },
        {
          "slave": "",
          "master": "http://127.0.0.1:8108/v2/"
        }
      ]
    }
  },
  "findface-extraction-api.variant": "cpu",
  "memcached.config": {
    "listen_host": "127.0.0.1",
    "max_memory": 1024,
    "item_size": 16
  },
  "type": "stand-alone",
  "findface-video-worker.config": {
    "streamer": [
      "port = 18999",
      "url = 127.0.0.1:18999"
    ],
    "FKVD_WRK_CAP": "10",
    "FKVD_MGR_ADDR": "127.0.0.1:18811",
    "FKVD_NTLS_ADDR": "127.0.0.1:3133"
  },
  "findface-security.config": {
    "SERVICE_EXTERNAL_ADDRESS": "http://172.17.46.98",
    "FFSECURITY": {
      "ROUTER_URL": "http://127.0.0.1"
    },
    "ntech_password": "dGPOQc3yTAKbpa9jP5BueakzxJWcH61I"
  },
  "findface-counter.config": {
    "listen": "127.0.0.1:17300",
    "database": {
      "connection_string": "dbname=ffcounter host=/var/run/postgresql sslmode=disable"
    }
  },
  "findface-extraction-api.config": {
    "extractors": {
      "models": {
        "quality": "faceattr/quality.v0.cpu.fnk",
        "face": "face/ifruit_320.cpu.fnk",
        "gender": "",
        "emotions": "",
        "age": ""
      },
      "instances": 2
    },
    "normalizers": {
      "instances": 2
    },
    "listen": "127.0.0.1:18666",
    "detectors": {
      "quality_estimator": true,
      "instances": 2
    },
    "license_ntls_server": "127.0.0.1:3133"
  },
  "inter_ip.advertised": "127.0.0.1",
  "findface-ntls.config": {
    "NTLS_LISTEN_UI": "127.0.0.1:3185",
    "NTLS_LICENSE_DIR": "/opt/ntech/license",
    "NTLS_LISTEN": "127.0.0.1:3133"
  },
  "facen_model": "face/ifruit_320.cpu.fnk",
  "ext_ip.advertised": "172.17.46.98",
  "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-160-cpu_3.0.0_all.deb",
    "./findface-data-ifruit-160-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-liveness.v3-cpu_3.0.0_all.deb",
    "./findface-data-liveness.v3-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.v0-cpu_3.0.0_all.deb",
    "./findface-data-quality.v0-gpu_3.0.0_all.deb"
  ],
  "python3-pil.variant": "avx2",
  "components": [
    "findface-data",
    "memcached",
    "etcd",
    "redis",
    "postgresql",
    "pgbouncer",
    "jq",
    "python3-pil",
    "findface-ntls",
    "findface-extraction-api",
    "findface-sf-api",
    "findface-counter",
    "findface-upload",
    "findface-video-manager",
    "findface-video-worker",
    "findface-security",
    "findface-tarantool-server"
  ],
  "pgbouncer.config": {
    "ntech_password": "dGPOQc3yTAKbpa9jP5BueakzxJWcH61I"
  },
  "findface-facerouter.config": {
    "host": "127.0.0.1",
    "plugin_source": "dir",
    "port": "18820",
    "sfapi_url": "http://127.0.0.1:18411",
    "plugin_dir": "/etc/findface-facerouter-plugins"
  },
  "tnt_instances": 8,
  "postgresql.config": {
    "ntech_password": "dGPOQc3yTAKbpa9jP5BueakzxJWcH61I"
  },
  "inter_ip.bind": "127.0.0.1",
  "findface-video-manager.config": {
    "ntls": {
      "url": "http://127.0.0.1:3185/",
      "enabled": false
    },
    "rpc": {
      "listen": "127.0.0.1:18811"
    },
    "listen": "127.0.0.1:18810",
    "master": {
      "self_url_http": "127.0.0.1:18810",
      "self_url": "127.0.0.1:18811"
    }
  },
  "ext_ip.bind": "0.0.0.0"
}