forked from iamdoubz/balena-Raspberry3B01
48 lines
1023 B
YAML
48 lines
1023 B
YAML
version: '2.1'
|
|
volumes:
|
|
config: {}
|
|
mosquitto: {}
|
|
settings: {}
|
|
services:
|
|
homeassistant:
|
|
build:
|
|
context: homeassistant
|
|
ports:
|
|
- '8123:8123'
|
|
privileged: true
|
|
volumes:
|
|
- 'config:/config'
|
|
restart: always
|
|
mqtt:
|
|
build:
|
|
context: mqtt
|
|
ports:
|
|
- '1883:1883'
|
|
restart: always
|
|
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: "${ALLOWED_NETWORKS:="192.168.1.0/24"}"
|
|
HC_VERIFY_HOSTNAME: "${VERIFY_HOSTNAME:="homeassistant.local"}"
|
|
appdaemon:
|
|
container_name: app-daemon
|
|
image: acockburn/appdaemon:latest
|
|
ports:
|
|
- "5050:5050"
|
|
volumes:
|
|
- config:/conf
|
|
restart: always
|
|
depends_on:
|
|
- homeassistant |