39 lines
811 B
YAML
39 lines
811 B
YAML
serializer: JSON
|
|
logger: console
|
|
engines:
|
|
serializer:
|
|
JSON:
|
|
allow_nonref: 1
|
|
allow_blessed: 1
|
|
pretty: 1
|
|
plugins:
|
|
Database:
|
|
driver: 'mysql'
|
|
database: 'videodetect'
|
|
host: 'mariadb'
|
|
port: 3306
|
|
username: 'videodetect'
|
|
password: 'changeme_videodetect'
|
|
connection_check_threshold: 10
|
|
dbi_params:
|
|
RaiseError: 1
|
|
AutoCommit: 1
|
|
on_connect_do: ["SET NAMES 'utf8'", "SET CHARACTER SET 'utf8'" ]
|
|
log_queries: 1
|
|
|
|
server:
|
|
port: 5000
|
|
workers: 4
|
|
bind: 0.0.0.0
|
|
|
|
logging:
|
|
level: info
|
|
logdir: /var/log/videodetect/api
|
|
logfile: videodetect-api.log
|
|
format: "[%d] %l [%P] %m"
|
|
|
|
paths:
|
|
scratch: /scratch
|
|
input: /data/input
|
|
output: /data/output
|
|
models: /models |