forked from eclipse-sdv-blueprints/service-to-signal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
service-to-signal-compose.yaml
100 lines (95 loc) · 2.78 KB
/
service-to-signal-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
#*******************************************************************************
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0
#
# SPDX-License-Identifier: EPL-2.0
#*******************************************************************************
configs:
router-config.json5:
file: "./config/router-config.json5"
provider-config.json5:
file: "./config/provider-config.json5"
services:
kuksa-databroker:
container_name: "kuksa-databroker"
image: ghcr.io/eclipse-kuksa/kuksa-databroker:0.4.5
command: ["--insecure"]
restart: unless-stopped
environment:
KUKSA_DATABROKER_PORT: "55556"
ports:
- "55556:55556"
zenoh-router:
container_name: "zenoh-router"
image: eclipse/zenoh:0.11.0
restart: unless-stopped
ports:
- "7447:7447"
- "8000:8000"
configs:
- source: "router-config.json5"
target: "/router-config.json5"
environment:
RUST_LOG: "DEBUG"
depends_on:
- kuksa-databroker
command: ["--config", "/router-config.json5"]
zenoh-kuksa-provider:
container_name: "zenoh-kuksa-provider"
build:
context: "./components/kuksa-incubation/zenoh-kuksa-provider"
dockerfile: Dockerfile
target: final
restart: unless-stopped
configs:
- source: "provider-config.json5"
target: "/provider-config.json5"
environment:
PROVIDER_CONFIG: "provider-config.json5"
RUST_LOG: "DEBUG"
depends_on:
- kuksa-databroker
- zenoh-router
horn-service-kuksa:
build:
context: "./components"
dockerfile: "Dockerfile.horn-service"
container_name: "horn-service-kuksa"
image: horn-service:latest
restart: unless-stopped
depends_on:
- kuksa-databroker
environment:
KUKSA_ADDRESS: "http://kuksa-databroker:55556"
KUKSA_ENABLED: "true"
ports:
- 0.0.0.0:15000:15000
software-horn:
build:
context: "./components"
dockerfile: "Dockerfile.software-horn"
container_name: "software-horn"
image: software-horn:latest
restart: unless-stopped
depends_on:
- zenoh-kuksa-provider
- zenoh-router
environment:
ROUTER_ADDRESS: "tcp/zenoh-router:7447"
# horn-client:
# build:
# context: "./components"
# dockerfile: "Dockerfile.horn-client"
# container_name: "horn-client"
# image: horn-client:latest
# restart: unless-stopped
# environment:
# HORN_ADDRESS: "tcp:/horn-service-kuksa:15000"
# depends_on:
# - horn-service-kuksa