docker-stacks/home-assistant/docker-compose.yml
Alexey Skobkin 4707d52aee
All checks were successful
continuous-integration/drone/pr Build is passing
home-assistant. Adding stack draft.
2023-09-10 15:23:00 +03:00

20 lines
560 B
YAML

# https://www.home-assistant.io/installation/linux#install-home-assistant-container
version: '3.8'
services:
homeassistant:
container_name: homeassistant
image: 'ghcr.io/home-assistant/home-assistant:${IMAGE_TAG:-stable}'
volumes:
- '${HOST_CONFIG_DIR:-./config}:/config'
- '/etc/localtime:/etc/localtime:ro'
restart: unless-stopped
privileged: true
network_mode: host
env_file: .env
logging:
driver: 'json-file'
options:
max-size: '${LOG_MAX_SIZE:-5m}'
max-file: '${LOG_MAX_FILE:-5}'