Added “devices” example to docker-compose notes (#2220)

This commit is contained in:
Daniel H Brown 2022-08-16 00:05:34 -04:00 committed by GitHub
parent aa67443fec
commit 1216519178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -350,8 +350,13 @@ And a docker compose file looks like this:
- ./:/config:rw
# Use local time for logging timestamps
- /etc/localtime:/etc/localtime:ro
devices:
# if needed, add esp device(s) as in command line examples above
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyACM0:/dev/ttyACM0
network_mode: host
restart: always
.. _docker-reference-notes:
.. note::