Move to new db setup

This commit is contained in:
Ryan
2026-09-08 20:31:06 -04:00
parent 78358e0d7b
commit ea46d418bd
18 changed files with 468 additions and 2043 deletions
+39
View File
@@ -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