fix: extract linux support to docker file
This commit is contained in:
parent
929fb1f898
commit
3791738c41
@ -32,5 +32,6 @@ RUN apt-get install -y python3 python3-pip
|
||||
RUN python3 -m pip install dvr-scan[opencv-headless] --break-system-packages
|
||||
|
||||
COPY --link --from=build /app .
|
||||
COPY CasaBotApp/appsettings.Docker.json ./appsettings.json
|
||||
ENTRYPOINT ["dotnet", "CasaBotApp.dll"]
|
||||
#CMD ["/bin/bash"]
|
37
src/CasaBot/CasaBotApp/appsettings.Docker.json
Normal file
37
src/CasaBot/CasaBotApp/appsettings.Docker.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"System": "Information",
|
||||
"Microsoft": "Information",
|
||||
"Quartz": "Information",
|
||||
"System.Net.Http.HttpClient": "Warning"
|
||||
}
|
||||
},
|
||||
"Telegram":{
|
||||
"BotToken": "__token__",
|
||||
"SubscribedChatIds": []
|
||||
},
|
||||
"Shinobi": {
|
||||
"URL": "http://localhost:8080",
|
||||
"APIKey": "APIKEY",
|
||||
"GroupId": "Group",
|
||||
"MonitorId": "Monitor"
|
||||
},
|
||||
"AutoScan": {
|
||||
"Enabled": true,
|
||||
"RunDry": false,
|
||||
"At": "07:00",
|
||||
"FromDayBefore": false,
|
||||
"From": "01:00",
|
||||
"To": "05:00",
|
||||
"MaxAmount": 0,
|
||||
"MediaFolder": "./media/originals/",
|
||||
"Scanner": {
|
||||
"Exe": "dvr-scan",
|
||||
"ConfigFile": "./dvr-scan.cfg",
|
||||
"DetectionFolder": "./media/detections/",
|
||||
"RunDry": false
|
||||
}
|
||||
}
|
||||
}
|
@ -29,12 +29,8 @@
|
||||
"MaxAmount": 0,
|
||||
"MediaFolder": "./media/originals/",
|
||||
"Scanner": {
|
||||
"ExeLinux": "dvr-scan",
|
||||
"ExeWindows": "./dvr-scanner/dvr-scan.exe",
|
||||
"Exe": "dvr-scan",
|
||||
"ConfigFileLinux": "./dvr-scan.cfg",
|
||||
"ConfigFileWindows": "./dvr-scanner/dvr-scan.cfg",
|
||||
"ConfigFile": "./dvr-scan.cfg",
|
||||
"Exe": "./dvr-scanner/dvr-scan.exe",
|
||||
"ConfigFile": "./dvr-scanner/dvr-scan.cfg",
|
||||
"DetectionFolder": "./media/detections/",
|
||||
"RunDry": false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user