-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (63 loc) · 1.95 KB
/
Copy pathdocker-compose.yml
File metadata and controls
68 lines (63 loc) · 1.95 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
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.4'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/raspberrypi4-homeassistant:stable"
volumes:
- "${LOCAL_BASE_PATH}/homeassistant:/config"
- "/etc/localtime:/etc/localtime:ro"
restart: unless-stopped
privileged: true
network_mode: host
mosquitto:
container_name: mosquitto
image: "eclipse-mosquitto"
ports:
- "1883:1883"
- "9001:9001"
volumes:
- "${LOCAL_BASE_PATH}/mosquitto:/mosquitto"
- "${LOCAL_BASE_PATH}/mosquitto/data:/mosquitto/data"
- "${LOCAL_BASE_PATH}/mosquitto/log:/mosquitto/log"
restart: unless-stopped
network_mode: host
influxdb:
image: influxdb:2.1.1
container_name: influxdb
environment:
- "DOCKER_INFLUXDB_INIT_MODE=setup"
- "DOCKER_INFLUXDB_INIT_USERNAME=${DOCKER_INFLUXDB_INIT_USERNAME:-homeassistant}"
- "DOCKER_INFLUXDB_INIT_PASSWORD=${DOCKER_INFLUXDB_INIT_PASSWORD:-homeassistant}"
- "DOCKER_INFLUXDB_INIT_ORG=${DOCKER_INFLUXDB_INIT_ORG:-home}"
- "DOCKER_INFLUXDB_INIT_BUCKET=${DOCKER_INFLUXDB_INIT_BUCKET:-homeassistant}"
ports:
- "8086:8086"
volumes:
- "${LOCAL_BASE_PATH}/influxdb/data:/var/lib/influxdb2"
- "${LOCAL_BASE_PATH}/influxdb/config.yml:/etc/influxdb2/config.yml"
restart: unless-stopped
deconz:
image: deconzcommunity/deconz
container_name: deconz
restart: unless-stopped
privileged: true
ports:
- "8085:8085"
- "4435:4435"
volumes:
- "${LOCAL_BASE_PATH}/deconz:/opt/deCONZ"
devices:
- "${DECONZ_USB_DEVICE:-/dev/ttyACM0}"
environment:
- "TZ=Europe/Berlin"
- "DECONZ_WEB_PORT=8085"
- "DECONZ_WS_PORT=4435"
- "DEBUG_INFO=1"
- "DEBUG_APS=0"
- "DEBUG_ZCL=0"
- "DEBUG_ZDP=0"
- "DEBUG_OTAU=0"
- "DECONZ_DEVICE=${DECONZ_USB_DEVICE:-/dev/ttyACM0}"
- "DECONZ_VNC_MODE=1"
- "DECONZ_VNC_PORT=5900"
network_mode: host