remove bash code from docker-compose. Add Dockerfile. Remove comments.

This commit is contained in:
Первов Артем
2026-06-08 21:37:51 +03:00
parent c549093b32
commit 926a01640b
3 changed files with 5 additions and 19 deletions

View File

@@ -44,11 +44,6 @@ function toMetrics(values: number[], timestamp: number): Edge5ModbusMetric[] {
}
async function postMetrics(metrics: Edge5ModbusMetric[]): Promise<void> {
// console.log('edge5.modbus.post_payload', JSON.stringify(metrics))
// console.log('edge5.modbus.post_skipped', {
// url: postUrl,
// count: metrics.length,
// })
const response = await fetch(postUrl, {
method: 'POST',