-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
28 lines (26 loc) · 1.21 KB
/
Copy pathcompose.yml
File metadata and controls
28 lines (26 loc) · 1.21 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
services:
reachability:
image: ghcr.io/usrflo/meshcore-reachability:latest
container_name: meshcore-reachability
restart: unless-stopped
# Serial port: uncomment both 'devices' and MC_SERIAL_PORT below, adjust the path:
# devices:
# - "/dev/ttyUSB0:/dev/ttyUSB0"
ports:
- "5342:5342"
environment:
# Connection — set exactly one of the three options:
#- MC_SERIAL_PORT=/dev/ttyUSB0 # USB serial (also uncomment 'devices' above)
#- MC_HOST=192.168.1.100 # TCP/IP (node must listen on port 5000)
#- MC_BLE= # BLE address
# Required: home location
- MC_LATITUDE=47.73322
- MC_LONGITUDE=12.11043
# Optional
- MC_RADIUS_KM=200 # Reachability check radius in km (default: 200)
- MC_DB=/app/data/mcreach.sqlite # Database path inside the container
#- MC_HEADLESS=false # true = collect data without web UI
#- MC_GUIONLY=false # true = web UI only, no packet collection
#- MC_MAPTILER_KEY= # MapTiler API key for background map tiles
volumes:
- /opt/meshcore-reachability:/app/data # Persistent data (database)