-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
33 lines (31 loc) · 856 Bytes
/
docker-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
version: '3.0'
services:
digitalstrom-mqtt:
image: gaetancollaud/digitalstrom-mqtt:dev
build: .
environment:
- MQTT_URL=tcp://mosquitto:1883
- MQTT_RETAIN=true
- REFRESH_AT_START=true
- HOME_ASSISTANT_DISCOVERY_ENABLED=true
env_file:
- .env
mosquitto:
image: eclipse-mosquitto:1.6
volumes:
- ./docs/docker/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro
ports:
- "1883:1883"
- "9001:9001"
homeassistant:
container_name: homeassistant
image: ghcr.io/home-assistant/home-assistant:stable
volumes:
# - ./docs/docker/homeassistant.yaml:/config/configuration.yaml
- ./docs/docker/homeassistant:/config/
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
ports:
- "8123:8123"
# network_mode: host
# privileged: true