API added

This commit is contained in:
jhartworks
2026-07-24 13:43:47 +02:00
parent 19d27f9de9
commit 986a43d5a5
12 changed files with 1112 additions and 146 deletions
+26 -3
View File
@@ -1,4 +1,4 @@
services:
services:
mariadb:
image: mariadb:11.4
container_name: seltd-mariadb
@@ -102,6 +102,28 @@
bacnet-collector:
condition: service_started
symcon-collector:
build:
context: ./symcon-collector
container_name: seltd-symcon-collector
restart: unless-stopped
environment:
DB_HOST: mariadb
DB_PORT: 3306
DB_NAME: wago
DB_USER: root
DB_PASSWORD: ${MARIADB_ROOT_PASSWORD:-SE3112}
SOURCES_FILE: /app/collector-data/sources.json
SYMCON_POLL_TICK_MS: ${SYMCON_POLL_TICK_MS:-1000}
SYMCON_MAX_CONCURRENCY: ${SYMCON_MAX_CONCURRENCY:-4}
volumes:
- collector_data:/app/collector-data:ro
depends_on:
mariadb:
condition: service_healthy
collector:
condition: service_started
bacnet-collector:
build:
context: ./bacnet-collector
@@ -128,7 +150,8 @@
DB_USER: root
DB_PASSWORD: ${MARIADB_ROOT_PASSWORD:-SE3112}
EXPORT_DIR: /exports
RUNNER_TICK_MS: ${RUNNER_TICK_MS:-30000}
RUNNER_TICK_MS: ${RUNNER_TICK_MS:-1000}
RUNNER_TIMEZONE: ${RUNNER_TIMEZONE:-Europe/Berlin}
volumes:
- runner_exports:/exports
depends_on:
@@ -141,7 +164,7 @@
container_name: seltd-dockhand
restart: unless-stopped
ports:
- "3000:3000"
- "3008:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- dockhand_data:/app/data