-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-example.yml
More file actions
48 lines (43 loc) · 884 Bytes
/
docker-compose-example.yml
File metadata and controls
48 lines (43 loc) · 884 Bytes
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
version: '3'
services:
hass:
image: homeassistant/raspberrypi4-homeassistant
restart: unless-stopped
privileged: true
devices:
- /dev/*:/dev/*
volumes:
- hass:/config
influxdb:
image: influxdb:2.3
restart: unless-stopped
volumes:
- influxdb:/var/lib/influxdb2
ports:
- 8086:8086
esp:
image: esphome/esphome
privileged: true
command: ["-q", "dashboard", "/config"]
restart: unless-stopped
environment:
- "ESPHOME_DASHBOARD_USE_PING=true"
volumes:
- esp:/config
ports:
- 6052:6052
cloudflare:
build: .
network_mode: host
restart: always
environment:
- "CF_TUNNEL_CONFIG_FILE=balena-config-example.yml"
env_file: example.env
depends_on:
- homeassistant
- esp
- influxdb
volumes:
hass:
influxdb:
esp: