The usage manual for the standalone installer
# authorization block
auth:
ssh_user: # SSH user login
use_sudo: yes # use SUDO as
# full path to private ssh key. optional
ssh_private_key: C:\\cygwin64\\home\\user\\.ssh\\id_rsa
# variables block - could vary for your personal deploy bundle
# please, fill up variables in your copy, don't copy from this example
vars:
# usually, it contains IP addresses of servers by roles
api1: 130.193.58.196
api2: 178.154.232.159
bio1: 130.193.59.58
bio2: 130.193.57.151
text1: 178.154.232.69
balancer: 84.201.145.209
# also, login-password of API user with ADMIN role
common-login: [email protected]
common-password: 123456
# servers list. usually, it uses variable values from the block above
# it is not needed to change anything manually here
servers:
oz-api:
- $api1
- $api2
oz-api-balancer: $balancer
oz-webui:
- $api1
- $api2
oz-webui-balancer:
oz-webadapter:
- $api1
- $api2
oz-webadapter-balancer: $balancer
oz-bio:
- $bio1
- $bio2
oz-bio-balancer: $balancer
oz-text: $text1
# if nothing is defined here, the full API configuration
# will use the host of the database docker service
oz-db:
# precise settings block
settings:
# personal license key
license-key: "123456-123456-123456-123456-123456-123456"
# local path on each server to store configuration and data
working-directory: /opt/oz
# docker settings to `docker-daemon.json`
docker-daemon:
# address space to run containers via Docker
bip: 192.168.0.1/24
# address spaces to run containers via docker-compose
default-address-pools:
- base: 192.168.1.0/24
size: 24
# settings for Oz API
oz-api:
install: yes # turn on installation of the component
install-statistic: no # turn on installation of statistic submodule
balancer: yes # turn on installation of balancer for component
# domain name for external access to component
domain_name:
# SSL certificate and key for HTTPS access (optional)
domain_cert:
domain_key:
# the local path to the host where to save media files
media_path:
# login/password of ADMIN preinstalled account on Oz API
admin:
login: $common-login
password: $common-password
# configuration to config.py - check details in Oz API section of knowledge base
config:
# network port to access component
# (in case of SSL certificate installation, it is always 443)
port: 80
# settings for Oz Liveness Web Adapter
# settings, named the same as in the Oz API block, see above
oz-webadapter:
install: yes
balancer: yes
domain_name:
domain_cert:
domain_key:
# https address for redirect GET request of root /
# by default, demo page here
redirect_url:
# configuration to app_config.json
config:
port: 88
# settings for Oz Web UI
# settings, named the same as in the Oz API block, see above
oz-webui:
install: yes
balancer: yes
domain_name:
domain_cert:
domain_key:
# login/password for service account, is needed to synchronize database
admin:
login: admin
password: admin
# configuration to .env
config:
port: 80
# settings for database for Oz API
oz-db:
# turn on installation of Postgres on the same machine with Oz API
# if "no" is chosen, then Oz API connects to external database
# in that case external address external address is specified in block
# servers -> oz-db
install: yes
# master - password for Postgres, in case of chosen installation
psql_password: CHANGEME
# database name
database: gateway
# login and password for database
user_name: gateway_user
user_password: CHANGEUSERPASS
# Settings for Oz Bio (Liveness + Biometry)
# settings, named the same as in the Oz API block, see above
oz-bio:
install: yes
balancer: yes
# settings and list of models are not intended to be modified by customer
settings:
models:
oz-installer.cmd install [parameters]chmod +x oz-installer.sh
./oz-installer.sh install [parameters]install.cmd filename=settings.prod.yml key_password=psyco --debugln -s /usr/local/bin/docker-compose /usr/sbin/docker-composesed -i 's/always/unless-stopped/g' /usr/lib/systemd/system/podman-restart.service
systemctl daemon-reload