Add update script, enhance admin features, and improve styles
- Created a PowerShell script (update.ps1) for automating the process of pulling the latest repository changes, stopping, building, and starting the Docker Compose stack. - Updated App.jsx to include new admin sections for alarms and integrations, added state management for runner jobs, and enhanced permission checks. - Extended the API module (api.js) with new endpoints for managing integrations and runner jobs. - Improved CSS styles for a more compact and responsive layout in the admin interface, focusing on source and datapoint cards.
This commit is contained in:
+32
-6
@@ -89,9 +89,11 @@
|
||||
DB_USER: root
|
||||
DB_PASSWORD: ${MARIADB_ROOT_PASSWORD:-SE3112}
|
||||
POLL_TICK_MS: ${POLL_TICK_MS:-1000}
|
||||
BACNET_COLLECTOR_URL: ${BACNET_COLLECTOR_URL:-http://bacnet-collector:18111}
|
||||
BACNET_COLLECTOR_URL: ${BACNET_COLLECTOR_URL:-http://172.17.0.1:18111}
|
||||
ports:
|
||||
- "18110:18110"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- collector_data:/app/data
|
||||
depends_on:
|
||||
@@ -107,14 +109,33 @@
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PORT: 18111
|
||||
BACNET_SCAN_TIMEOUT: ${BACNET_SCAN_TIMEOUT:-7000}
|
||||
BACNET_SCAN_TIMEOUT: ${BACNET_SCAN_TIMEOUT:-12000}
|
||||
BACNET_POINT_LIMIT: ${BACNET_POINT_LIMIT:-2000}
|
||||
BACNET_BROADCAST_FALLBACKS: ${BACNET_BROADCAST_FALLBACKS:-}
|
||||
network_mode: "host"
|
||||
ports:
|
||||
- "18111:18111"
|
||||
- "47808:47808/udp"
|
||||
BACNET_UNICAST_DELAY_MS: ${BACNET_UNICAST_DELAY_MS:-120}
|
||||
network_mode: "host"
|
||||
|
||||
runner:
|
||||
build:
|
||||
context: ./runner
|
||||
container_name: seltd-runner
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379
|
||||
DB_HOST: mariadb
|
||||
DB_PORT: 3306
|
||||
DB_NAME: wago
|
||||
DB_USER: root
|
||||
DB_PASSWORD: ${MARIADB_ROOT_PASSWORD:-SE3112}
|
||||
EXPORT_DIR: /exports
|
||||
RUNNER_TICK_MS: ${RUNNER_TICK_MS:-30000}
|
||||
volumes:
|
||||
- runner_exports:/exports
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
dockhand:
|
||||
image: fnsys/dockhand:latest
|
||||
container_name: seltd-dockhand
|
||||
@@ -147,7 +168,12 @@ volumes:
|
||||
mariadb_data:
|
||||
redis_data:
|
||||
collector_data:
|
||||
runner_exports:
|
||||
dockhand_data:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user