Add scheduling-remote service to docker-compose and enhance camera error handling
- Introduced a new service for scheduling-remote in docker-compose.yml, allowing for better management of scheduling functionalities. - Enhanced error handling in CameraMonitor and CameraStreamer classes to improve robustness during camera initialization and streaming processes. - Updated various components in the management dashboard to support dark mode and improve user experience with consistent styling. - Implemented feature flags for enabling/disabling modules, including the new scheduling module.
This commit is contained in:
@@ -104,6 +104,26 @@ services:
|
||||
ports:
|
||||
- "3002:3002"
|
||||
|
||||
scheduling-remote:
|
||||
image: node:20-alpine
|
||||
working_dir: /app
|
||||
env_file:
|
||||
- ./management-dashboard-web-app/.env
|
||||
environment:
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
- TZ=America/New_York
|
||||
volumes:
|
||||
- ./scheduling-remote:/app
|
||||
command: >
|
||||
sh -lc "
|
||||
npm install;
|
||||
npm run dev:watch
|
||||
"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "3003:3003"
|
||||
|
||||
media-api:
|
||||
build:
|
||||
context: ./media-api
|
||||
|
||||
Reference in New Issue
Block a user