Move to new db setup
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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: 'videodetect123'
|
||||
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
|
||||
Reference in New Issue
Block a user