-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
49 lines (44 loc) · 1.01 KB
/
compose.yaml
File metadata and controls
49 lines (44 loc) · 1.01 KB
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
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: event_frontend
network_mode: host
restart: unless-stopped
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: event_backend
environment:
- PORT=5000
- MONGO_URI=mongodb://localhost:27017/event_logger
- ROSBRIDGE_URL=ws://localhost:8765
network_mode: host
restart: unless-stopped
mongo:
image: mongo:6
container_name: mongo_db
network_mode: host
restart: unless-stopped
volumes:
- mongo_data:/data/db
attach: false
rosbridge:
build:
context: ./ros2-client
dockerfile: Dockerfile
container_name: foxglove_bridge
network_mode: host
restart: unless-stopped
environment:
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
- ROS_DOMAIN_ID=0
- port=8765
- address=0.0.0.0
- topic_whitelist=['/events']
- tls=false
attach: false
volumes:
mongo_data: