-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 1.04 KB
/
docker-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
39
40
41
42
43
44
45
46
version: '3'
services:
nginx:
image: nginx
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
network_mode: "host"
restart: always
rosblox-studio:
image: ghcr.io/rosblox/studio:latest
volumes:
- ./studio/layout.json:/src/layout.json
ports:
- 8080:8080
restart: always
ros-rosbridge-suite:
image: ghcr.io/rosblox/ros-rosbridge-suite:humble
ports:
- 9090:9090
restart: always
command: ros2 launch rosbridge_server rosbridge_websocket_launch.xml
ros-as5048b:
image: ghcr.io/rosblox/ros-as5048b:humble
restart: always
devices:
- /dev/i2c-1:/dev/i2c-1
network_mode: "host"
ipc: host
pid: host
environment:
- UID=1000
- GID=1000
- I2C_GID=112
- I2C_DEVICE=1
- I2C_ADDRESS=0x40
volumes:
- ~/.ros/turn_count.yaml:/tmp/turn_count.yaml
command: su - ros --whitelist-environment="I2C_DEVICE,I2C_ADDRESS" /run.sh
logging:
driver: "json-file"
options:
max-size: "10m"