-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-raspberry.yml
39 lines (38 loc) · 1.07 KB
/
docker-compose-raspberry.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
services:
subfleet-manager:
image: rdautov/ditto-subfleet-manager:arm64
container_name: subfleet-manager
restart: always
network_mode: host
#restart: always
#network_mode: host
#networks:
# default:
# aliases:
# - subfleet-manager
environment:
- MQTT_BROKER=broker.hivemq.com:1883
monitoring-agent:
image: rdautov/ditto-monitoring-agent:arm64
container_name: ditto-monitoring-agent
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
restart: always
depends_on:
subfleet-manager:
condition: service_started
network_mode: host
user: root
environment:
- IP_ADDRESS=127.0.0.1
- MQTT_BROKER=mqtt://broker.hivemq.com:1883
- SYSTEM_VERSION=12
- SYSTEM_NAME=Debian
- SYSTEM_DESCRIPTION=Debian GNU/Linux 12 (bookworm)
- HOST_ETC=/hostfs/etc
- HOST_PROC=/hostfs/proc
- HOST_SYS=/hostfs/sys
- HOST_VAR=/hostfs/var
- HOST_RUN=/hostfs/run
- HOST_MOUNT_PREFIX=/hostfs