File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
services :
2
2
worker :
3
3
image : ghcr.io/planktoscope/device-backend-processing-segmenter:sha-ebd357f
4
+ ports :
5
+ - 8001:8001
4
6
volumes :
5
7
- ./machine-name:/var/lib/planktoscope/machine-name
6
8
- ~/.local/share/planktoscope/data:/home/pi/data
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ deployment:
16
16
protocol : mqtt
17
17
nonblocking : false # absence of the MQTT server is not yet handled
18
18
provides :
19
+ listeners :
20
+ - description : HTTP server to serve previews of segmented objects
21
+ port : 8001
22
+ protocol : tcp
19
23
services :
20
24
- description : MQTT handling of segmenter commands and broadcasting of segmenter statuses
21
25
tags : [planktoscope-api-v2]
@@ -27,6 +31,12 @@ deployment:
27
31
- /status/segmenter/name
28
32
- /status/segmenter/object_id
29
33
- /status/segmenter/metric
34
+ - description : Last segmented object MJPEG stream from the segmenter
35
+ tags : [mjpeg-stream]
36
+ port : 8001
37
+ protocol : http
38
+ paths :
39
+ - /object.mjpg
30
40
31
41
features :
32
42
dev-src :
You can’t perform that action at this time.
0 commit comments