Advanced Installation
This guideline is intended for custom installation to fit your environment. For the quick one, please see the previous section, Simple Installation.
Last updated
This guideline is intended for custom installation to fit your environment. For the quick one, please see the previous section, Simple Installation.
Last updated
If you are a developer and need more customization. Make sure you already fulfill the requirement.
Please make sure to run all commands in the same terminal. If you accidentally closed the terminal earlier, be sure to re-run variables export commands and continue with the installation.
Create a user-defined bridge network:
Create docker volumes for postgresdb:
Create Potgres Container
Init new additional DB
From version 4.56.1 we remove the argument to input the Deployment Key, Secret Key, and Access Key. You can input from our dashboard (click profile > license).
If you install version below 4.56.1 make sure to use --access-key,--secret-key
and --deployment-key
Options
Description
--help
Produce help message
--log-severity arg (=info)
Set default log severity (trace, debug, info, notice, warning)
--node-num arg (=0)
Setting node number for clustering (default is 0 or master)
--master-address arg (=127.0.0.1)
The address of master (if running asslave
mode or node_num>0
)
--master-port arg (=4004)
The listening address of master (default is 4004)
--access-key arg (=default)
License access key
--secret-key arg (=secret)
License secret key
--deployment-key arg
Deployment key
--refresh-timeout arg (=3)
Refresh timeout
--db-host arg (=host.docker.internal)
Main database host address
--db-port arg (=5432)
Main database host port number (default=5432
)
--db-user arg (=postgres)
Main database username
--db-password arg (=test)
Main database username
-db-name arg (=postgres)
Main database name
--listen-address arg (=0.0.0.0)
Master service listening address
--listen-port arg (=4004)
Master service listening port
--enable-cors
Enable CORS-Origin
--mode arg (=master)
Running mode (master
, migration
)
--service-hash arg (=0)
(internally used)
--service-gpu-id arg (=-1)
(internally used)
--credential-bundle arg (=./data/credential_stream.csv)
Credential bundle as csv file (access_key
, secret_key
, deployment_key
)
--fr-address arg (=host.docker.internal:4005)
Location of Docker Snapshot Face Recognition server, default: host.docker.internal:4005
--fr-keyspace-name arg (=some-keyspace)
Keyspace of Docker Snapshot server, default: some-keyspace
--fr-min-face-size arg (=10)
Face size, default: 10
--fr-embedding-event-enable
Enable embedding information on event as vector of float
--FR_TIMEOUT_DUMP
Control interval between same face dumping. Default: 2500ms
--FR_BLUR_FILTER_THRESHOLD
Minimum threshold to filter blurry face, improving image quality of FR face image dumping. Default: 4, Range Value: 0 - 10, 0 means blurry face image dump will be abundant and 10 means only dump good face image
--V4_STREAM_OPEN_TIMEOUT
Control stream open timeout. Default: 8s
--V4_STREAM_READ_TIMEOUT
Control stream read timeout. Default: 5s
--VISIONAIRE4_RUN_MODE
(internally used)
Run docker image
This command will install the new dashboard. If you prefer to use the old version of our dashboard, please use the 2nd installation command.
Below this is for old dashboard installation guide
Parameters for Vanilla.
Options
Description
--log , -l
logging level, useful for debugging session. available (warning, info, debug) (default: info
)
--port , -p
app HTTP port (default: 80
)
--node-env
running mode, development or production (default: production
)
--db-host, --dbhost
postgreSQL host address, ex: 127.0.0.1:5432 (default: 127.0.0.1:5432
)
--db-user, --dbusr
postgreSQL database username, ex: postgres (default: postgres
)
--db-password, --dbpass
postgreSQL database password, ex: password (default: test
)
--db-name, --dbnm
postgreSQL database name, ex: postgres (default: postgres
)
--fremisn-url, --frnurl
fremisn service url (default: http://localhost:4005/v1/face
)
--fremisn-keyspace, --frnks
fremisn user keyspace, ex: some-keyspace (default: some-keyspace
)
--visionaire-host, --vshst
Visionaire Docker Stream host, (default: localhost:4004
)
--cron-partition, --crp
database cronjob partition (default: 0 0 * * *
)
--website-host
front end website host (default: localhost
)
--help, -h
show help
--version, -v
print the version
--fremisn-rto, --frnrto
fremisn max request timeout in second (default: 10
)
At this point, you should have 4 containers running. You can check your_ip:8008
to see the Vanilla Dashboard.
User: admin@admin.com
Pass: adminadmin
If you use Face Recognition analytics in your deployment make sure to install VisionAIre Snapshot, if you don't then your installation is done.
If you install version below 2.12.2 make sure to use --access-key,--secret-key
and --dk
-h,--help
Print this help message and exit
--access-key
Nodeflux access key
--secret-key
Nodeflux secret key
--dk
Deployment Key
--listen-addr
Address to serve REST API
-p,--listen-port
Address to serve REST API
--listen-port-monitoring
Address port of monitoring
--server-threads
Maximum number of server's threads
--similarity-threshold
Default similarity threshold
--max-workers
Maximum number of extraction workers
--storage
Storage System. The choice are: rocksdb
and postgres
--data-path
Database Path of RocksDB, if rocksdb
selected
--db-address
Database Address of Postgres server, if postgres
selected
--db-port
Database port of Postgres server, if postgres
selected
--db-name
Database name of Postgres server, if postgres
selected
--db-username
Database username of Postgres server, if postgres
selected
--db-password
Database password of Postgres server, if postgres
selected
--partition-start
The starting number of partition set
--partition-end
The ending number of partition set
-v,--verbose
Turn on verbose logging
You can use GPU by using gpu
tag. Example:nodefluxio/fremis-n:v1.0.0-gpu,
then enabling --gpus-all
in docker command and --config-path /app/config.yml
in fremisn command
If you run with License Box, add this scriptdocker run --add-host "api.cloud.nodeflux.io:<license_box_ip>"