Joakim Sørensen f484c825a7
Add privileged to docker commands (#18275)
* Add privileged to docker commands

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <git@frenck.dev>

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-22 17:34:12 +02:00

385 B

  version: '3'
  services:
    homeassistant:
      container_name: homeassistant
      image: "{{ include.image | default: site.installation.container.base }}:{{ include.tag | default: 'stable' }}"
      volumes:
        - /PATH_TO_YOUR_CONFIG:/config
        - /etc/localtime:/etc/localtime:ro
      restart: unless-stopped
      privileged: true
      network_mode: host