-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·133 lines (125 loc) · 2.53 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
version: "3.3"
services:
sdmap-agent-psm:
build:
context: .
dockerfile: Dockerfile
networks:
- mqtt
depends_on:
- mosquitto
environment:
FORMAT: 1
PUBFREQ: 1000
PUBSERVER: mosquitto:1883
SUBSERVER: mosquitto:1883
SUBTOPIC: psm
PUBTOPIC: decoded_psm
command: -log=debug
jdecoder-test-pub-psm:
build:
context: .
dockerfile: pub.Dockerfile
networks:
- mqtt
depends_on:
- mosquitto
environment:
PUBFREQ: 1000
PUBSERVER: mosquitto:1883
PUBFILE: /app/psm.uper
PUBTOPIC: psm
SUBTOPIC: decoded_psm
command: -log=debug
volumes:
- type: bind
source: ./pkg/decoder/samples/psm1.uper
target: /app/psm.uper
sdmap-agent-bsm:
build:
context: .
dockerfile: Dockerfile
networks:
- mqtt
depends_on:
- mosquitto
environment:
FORMAT: 0
PUBFREQ: 10
PUBSERVER: mosquitto:1883
SUBSERVER: mosquitto:1883
SUBTOPIC: bsm
PUBTOPIC: decoded_bsm
REVBEARING: 0
EXPIRY: 1
command: -log=debug
jdecoder-test-pub-bsm:
build:
context: .
dockerfile: pub.Dockerfile
networks:
- mqtt
depends_on:
- mosquitto
environment:
FORMAT: 0
PUBFREQ: 1000
PUBSERVER: mosquitto:1883
PUBFILE: /app/bsm.log
PUBTOPIC: bsm
SUBTOPIC: decoded_bsm
command: -log=debug
volumes:
- type: bind
source: ./pkg/decoder/samples/bsm1.uper
target: /app/bsm.log
sdmap-agent-spat:
build:
context: .
dockerfile: Dockerfile
networks:
- mqtt
depends_on:
- mosquitto
environment:
FORMAT: 2
PUBFREQ: 1000
PUBSERVER: mosquitto:1883
SUBSERVER: mosquitto:1883
SUBTOPIC: spat
PUBTOPIC: decoded_spat
REVBEARING: 0
EXPIRY: 1
command: -log=debug
jdecoder-test-pub-spat:
build:
context: .
dockerfile: pub.Dockerfile
networks:
- mqtt
depends_on:
- mosquitto
environment:
PUBFREQ: 1000
PUBSERVER: mosquitto:1883
PUBFILE: /app/spat.uper
PUBTOPIC: spat
SUBTOPIC: decoded_spat
command: -log=debug
volumes:
- type: bind
source: ./pkg/decoder/samples/spat.uper
target: /app/spat.uper
mosquitto:
image: eclipse-mosquitto
hostname: mosquitto
networks:
- mqtt
expose:
- "1883"
- "9001"
ports:
- "1883"
- "9001"
networks:
mqtt: