docker/homeassistant/docker-compose.yml

17 lines
445 B
YAML
Raw Permalink Normal View History

2020-12-08 08:59:05 -06:00
version: '3'
services:
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant
logging:
options:
max-size: "10m"
max-file: "3"
volumes:
- ./data:/config
- /etc/localtime:/etc/localtime:ro
restart: always
ports:
- 8123:8123
command: bash -c "sed -i -E \"s/_TLSv1/_TLS/g\" `find / -name roomba.py -print` && python3 -m homeassistant --config /config"