61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
version: '2.1'
|
|
volumes:
|
|
config: {}
|
|
mosquitto: {}
|
|
settings: {}
|
|
services:
|
|
homeassistant:
|
|
build:
|
|
context: homeassistant
|
|
ports:
|
|
- '8123:8123'
|
|
privileged: true
|
|
volumes:
|
|
- 'config:/config'
|
|
restart: always
|
|
healthcheck:
|
|
test: wget --no-verbose --tries=1 --spider http://localhost:8123/ || exit 1
|
|
interval: 5m
|
|
timeout: 3s
|
|
mqtt:
|
|
build:
|
|
context: mqtt
|
|
ports:
|
|
- '1883:1883'
|
|
restart: always
|
|
healthcheck:
|
|
test: wget --no-verbose --tries=1 --spider http://localhost:1883/ || exit 1
|
|
interval: 5m
|
|
timeout: 3s
|
|
depends_on:
|
|
- homeassistant
|
|
volumes:
|
|
- 'mosquitto:/mosquitto/data'
|
|
hass-configurator:
|
|
image: 'causticlab/hass-configurator-docker:latest'
|
|
restart: always
|
|
depends_on:
|
|
- homeassistant
|
|
ports:
|
|
- '3218:3218'
|
|
volumes:
|
|
- 'config:/hass-config'
|
|
environment:
|
|
- HC_BASEPATH=/hass-config
|
|
- HC_ALLOWED_NETWORKS=192.168.1.0/24
|
|
- HC_USERNAME=daniel
|
|
- HC_PASSWORD={sha256}4e2ecfc538e1f7ca5e1b59b5ba9c5398e2c98de21a083f08d5784510a8d76352
|
|
appdaemon:
|
|
container_name: app-daemon
|
|
image: acockburn/appdaemon:latest
|
|
ports:
|
|
- "5050:5050"
|
|
volumes:
|
|
- config:/conf
|
|
restart: always
|
|
healthcheck:
|
|
test: wget --no-verbose --tries=1 --spider http://localhost:5050/ || exit 1
|
|
interval: 5m
|
|
timeout: 3s
|
|
depends_on:
|
|
- homeassistant |