mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-09-24 03:43:08 +02:00
Add docker-compose sample file (#1903)
This commit is contained in:
parent
06d93a23ba
commit
f9ded4090a
@ -21,6 +21,23 @@ AMD64, ARM and ARM64 (AARCH64), and can be downloaded with:
|
||||
|
||||
docker pull esphome/esphome
|
||||
|
||||
If you want to use `docker-compose` instead, here's a sample file:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
version: '3'
|
||||
services:
|
||||
esphome:
|
||||
container_name: esphome
|
||||
image: esphome/esphome
|
||||
volumes:
|
||||
- /path/to/esphome/config:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: always
|
||||
privileged: true
|
||||
network_mode: host
|
||||
|
||||
|
||||
Connecting the ESP Device
|
||||
-------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user