SmartFace Station server configuration

The configuration of the SmartFace Station server is stored in the .env file which can be found in the installation folder. It contains all necessary configurations.

⚠️ Please note that the SFStation Windows service must be restarted after editing the .env configuration file.

To restart Windows service from PowerShell, use the following commands:

$ net stop SFStation
$ net start SFStation

Configuration options

Configuration options in .env file

# IP address to which SmartFace Station server binds to
HOST=0.0.0.0

# Port number to which SmartFace Station server binds to
PORT=8000

# Full address to SmartFace Server APIs
# CORE API example: http://[sf-server-host]:[port]/api/v1
# ODATA API example: http://[sf-server-host]:[port]
CORE_API_ROOT=http://127.0.0.1:8098/api/v1
ODATA_API_ROOT=http://127.0.0.1:8099
ZERO_MQ_HOST=127.0.0.1

# Address to Access Controller gRPC endpoint
# Example: [sf-server-host]:[port]
ACCESS_CONTROLLER_ADDRESS=127.0.0.1:5050

# Comma separated Watchlist IDs used as global blacklists
BLACKLIST_WATCHLIST_IDS=abcdabcd-abcd-1234-abcd-abcdabcdacd

# Whether to run with Keycloak authentication server or not
ENABLE_AUTHENTICATION=false

# Full URL address to Keycloak's user management (If empty, no URL is displayed in web app configuration.)
KEYCLOAK_ADMIN_URL=http://keycloak-host:8080/auth/admin