-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev_compose.yaml
More file actions
23 lines (23 loc) · 875 Bytes
/
dev_compose.yaml
File metadata and controls
23 lines (23 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This docker compose file is intended for development.
services:
eer_ros_packages:
build:
context: ./ros_workspace
dockerfile: Dockerfile
args:
- ROV_NAME=${ROV_NAME:-waterwitch} # Specify the name of the ROV
- DEV_MODE=${DEV_MODE:-true} # Set DEV_MODE to 1 (simulated ROV)
tty: true
container_name: eer_ros_packages
restart: always
network_mode: host # Run in host mode to allow ros2 communication with host network
ipc: host # Required for ros2 communication with host network
volumes:
- ./ros_workspace/src/common_backend/common_backend/config:/app/src/common_backend/common_backend/config # Mount the config directory so that it persists between container restarts
web_frontend:
build: ./web_frontend
container_name: web_frontend
restart: always
tty: true
ports:
- "80:80"