-
Notifications
You must be signed in to change notification settings - Fork 80
/
compose.yml
69 lines (68 loc) · 2.61 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3.7'
services:
blueos-core:
image: bluerobotics/blueos-core:master
container_name: blueos-core
privileged: true
# This can be used as an alternative to ports binding
# Using host as a network mode is only supported for linux
# Ref: https://docs.docker.com/network/drivers/host
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /run/udev:/run/udev
- /etc/resolv.conf:/etc/resolv.conf
- /etc/machine-id:/etc/machine-id
- ./workspace/userdata:/usr/blueos/userdata
- ./workspace/logs:/var/logs/blueos
- ./workspace/config:/root/.config
- ./workspace/blueos:/etc/blueos
# Allow changes made to the repository to be directly reflected in the running container
- ../start-blueos-core:/usr/bin/start-blueos-core
- ../tools/blueos_startup_update/blueos_startup_update.py:/usr/bin/blueos_startup_update.py
- ../services:/home/pi/services
pid: "host"
environment:
- BLUEOS_DISABLE_SERVICES=cable_guy,wifi,commander
- BLUEOS_DISABLE_MEMORY_LIMIT=true
- BLUEOS_DISABLE_STARTUP_UPDATE=true
# ports:
# - "80:80"
# - "81:81" # Helper
# - "2748:2748" # NMEA Injector
# - "3478:3478" # MAVLink Camera Manager Stun server
# - "5173:5173" # Cockpit development port
# - "6020:6020" # MAVLink Camera Manager REST API and interface
# - "6021:6021" # MAVLink Camera Manager Signalling server
# - "6030:6030" # System Information
# - "6040:6040" # MAVLink2Rest
# - "7777:7777" # File Browser
# - "8081:8081" # Version Chooser
# - "8088:8088" # ttyd - Terminal
# - "8554:8554" # MAVLink Camera Manager RTSP server
# - "9000:9000" # Wifi Manager
# - "9090:9090" # Cable-guy
# - "9100:9100" # Commander
# - "9101:9101" # Bag Of Holding
# - "9110:9110" # Ping Service
# - "9111:9111" # Beacon Service
# - "9120:9120" # Pardal
# - "9134:9134" # Kraken
# - "27353:27353" # Bridget
# - "49153:49153" # Cockpit
cloud-telemetry:
image: public.ecr.aws/h4c9p1o0/blueos-cloud-agent-dev
container_name: blueos-cloud-telemetry
privileged: true
restart: always
network_mode: host
pid: "host"
volumes:
- /run/udev:/run/udev
- /etc/resolv.conf:/etc/resolv.conf
- /etc/machine-id:/host/etc/machine-id # cloud-agent binds host content to /host
- ./workspace/blueos:/host/etc/blueos
- ./workspace/logs:/var/logs/blueos
- ./workspace/config:/root/.config
extra_hosts:
- "blueos:host-gateway"