feat: add jt808 ingest app
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
lingniu
2026-06-26 11:17:27 +08:00
parent db871b7531
commit 5e619c3634
16 changed files with 415 additions and 2 deletions

View File

@@ -19,6 +19,9 @@ x-common-env: &common-env
KAFKA_TOPIC_GB32960_EVENT: ${KAFKA_TOPIC_GB32960_EVENT:-vehicle.event.gb32960.v1}
KAFKA_TOPIC_GB32960_RAW: ${KAFKA_TOPIC_GB32960_RAW:-vehicle.raw.gb32960.v1}
KAFKA_TOPIC_GB32960_DLQ: ${KAFKA_TOPIC_GB32960_DLQ:-vehicle.dlq.gb32960.v1}
KAFKA_TOPIC_JT808_EVENT: ${KAFKA_TOPIC_JT808_EVENT:-vehicle.event.jt808.v1}
KAFKA_TOPIC_JT808_RAW: ${KAFKA_TOPIC_JT808_RAW:-vehicle.raw.jt808.v1}
KAFKA_TOPIC_JT808_DLQ: ${KAFKA_TOPIC_JT808_DLQ:-vehicle.dlq.jt808.v1}
services:
gb32960-ingest-app:
@@ -45,12 +48,32 @@ services:
networks:
- vehicle-ingest
jt808-ingest-app:
image: crpi-85r4m0ackrm3qpje-vpc.cn-shanghai.personal.cr.aliyuncs.com/oneos/jt808-ingest-app:${LINGNIU_IMAGE_VERSION:?set LINGNIU_IMAGE_VERSION}
container_name: jt808-ingest-app
restart: unless-stopped
environment:
<<: *common-env
HTTP_PORT: 20400
JT808_PORT: 10808
KAFKA_CONSUMER_ENABLED: "false"
KAFKA_NODE_ID: ${KAFKA_NODE_ID_JT808:-jt808-ingest-portainer}
VEHICLE_IDENTITY_FILE: /data/vehicle-identity.jsonl
ports:
- "${JT808_HTTP_PORT:-20400}:20400"
- "${JT808_TCP_PORT:-10808}:10808"
volumes:
- jt808-ingest-data:/data
networks:
- vehicle-ingest
vehicle-history-app:
image: crpi-85r4m0ackrm3qpje-vpc.cn-shanghai.personal.cr.aliyuncs.com/oneos/vehicle-history-app:${LINGNIU_IMAGE_VERSION:?set LINGNIU_IMAGE_VERSION}
container_name: vehicle-history-app
restart: unless-stopped
depends_on:
- gb32960-ingest-app
- jt808-ingest-app
environment:
<<: *common-env
HTTP_PORT: 20200
@@ -75,6 +98,7 @@ services:
restart: unless-stopped
depends_on:
- gb32960-ingest-app
- jt808-ingest-app
environment:
<<: *common-env
HTTP_PORT: 20300
@@ -98,6 +122,7 @@ networks:
volumes:
gb32960-ingest-data:
jt808-ingest-data:
vehicle-history-archive:
vehicle-history-event-store:
vehicle-analytics-stat: