-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathservice-to-signal-compose.yaml
111 lines (105 loc) · 2.99 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
101
102
103
104
105
106
107
108
109
110
111
#*******************************************************************************
# 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
#*******************************************************************************
networks:
app-net:
driver: overlay
attachable: true
mcu-net:
driver: overlay
attachable: true
services:
zenoh-router:
container_name: "zenoh-router"
image: eclipse/zenoh:1.0.1
restart: unless-stopped
ports:
- "0.0.0.0:7447:7447"
networks:
- "app-net"
volumes:
- "./config/zenoh-router-config.json5:/zenoh-config.json5"
environment:
RUST_LOG: "INFO"
ZENOH_CONFIG: "/zenoh-config.json5"
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
- zenoh-router
networks:
- "app-net"
environment:
KUKSA_ADDRESS: "http://kuksa-databroker:55556"
KUKSA_ENABLED: "true"
ZENOH_CONFIG: "/zenoh-config.json5"
volumes:
- "./config/horn-service-zenoh-config.json5:/zenoh-config.json5"
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"
networks:
- "app-net"
zenoh-kuksa-provider:
container_name: "zenoh-kuksa-provider"
build:
context: "./components/kuksa-incubation/zenoh-kuksa-provider"
dockerfile: Dockerfile
target: final
restart: unless-stopped
volumes:
- "./config/zenoh-kuksa-provider-config.json5:/provider-config.json5"
networks:
- "app-net"
- "mcu-net"
environment:
PROVIDER_CONFIG: "/provider-config.json5"
RUST_LOG: "INFO"
depends_on:
- kuksa-databroker
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
networks:
- "mcu-net"
environment:
ZENOH_CONFIG: "/zenoh-config.json5"
volumes:
- "./config/software-horn-zenoh-config.json5:/zenoh-config.json5"
# 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