mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 09:46:59 +00:00
Update cli.md: add dbus access for Raspberry (#28821)
Co-authored-by: Stefan Agner <stefan@agner.ch> Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
bafd597615
commit
899b4a8409
@ -17,6 +17,7 @@ Installation with Docker is straightforward. Adjust the following command so tha
|
||||
|
||||
- `/PATH_TO_YOUR_CONFIG` points at the folder where you want to store your configuration and run it. Make sure that you keep the `:/config` part.
|
||||
- `MY_TIME_ZONE` is a [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), like `TZ=America/Los_Angeles`.
|
||||
- D-Bus is optional but required if you plan to use the [Bluetooth integration](/integrations/bluetooth).
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
--restart=unless-stopped \
|
||||
-e TZ=MY_TIME_ZONE \
|
||||
-v /PATH_TO_YOUR_CONFIG:/config \
|
||||
-v /run/dbus:/run/dbus:ro \
|
||||
--network=host \
|
||||
{{ site.installation.container }}:{{ include.tag | default: 'stable' }}
|
||||
```
|
||||
@ -40,6 +41,7 @@
|
||||
--privileged \
|
||||
-e TZ=MY_TIME_ZONE \
|
||||
-v /PATH_TO_YOUR_CONFIG:/config \
|
||||
-v /run/dbus:/run/dbus:ro \
|
||||
--network=host \
|
||||
{{ site.installation.container }}:{{ include.tag | default: 'stable' }}
|
||||
```
|
||||
|
@ -7,6 +7,7 @@
|
||||
volumes:
|
||||
- /PATH_TO_YOUR_CONFIG:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /run/dbus:/run/dbus:ro
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
network_mode: host
|
||||
|
Loading…
x
Reference in New Issue
Block a user