-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
38 lines (36 loc) · 858 Bytes
/
compose.yml
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
services:
zenoh:
init: true
image: eclipse/zenoh
ports:
- 7447:7447
- 8000:8000
volumes:
- ./.zenoh:/root/.zenoh
command: -c /root/.zenoh/meshnetworkx.json5
zenoh-host:
# usefull to run in host mode when running meshnetworkx outside docker.
profiles:
- donotstart
init: true
image: eclipse/zenoh
ports:
- 7447:7447
- 8000:8000
volumes:
- ./.zenoh:/root/.zenoh
command: -c /root/.zenoh/meshnetworkx.json5
network_mode: host
meshnetworkx: # the experimental script.
init: true
build: .
command: ["uv", "run", "examples/two_device/main.py"]
volumes:
- ./examples:/workdir/examples/
- ./src:/workdir/src/
depends_on:
- zenoh
# environment:
# ZENOH_ENDPOINTS: tcp/localhost:7447
ports:
- 8080:8080