1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/esphome/docker-compose.yml

23 lines
525 B
YAML
Raw Normal View History

2024-01-03 15:15:15 +02:00
#
# See: https://esphome.io/guides/getting_started_command_line.html
#
2021-11-04 05:55:13 +02:00
version: "3.8"
services:
esphome:
2024-01-03 12:42:13 +02:00
image: esphome/esphome:stable
2021-11-04 05:55:13 +02:00
ports:
- "6052:6052"
volumes:
- ./data:/config
2024-01-03 15:15:15 +02:00
- /etc/localtime:/etc/localtime:ro
2024-01-03 12:42:13 +02:00
environment:
2024-01-03 15:15:15 +02:00
- USERNAME=admin
- PASSWORD=admin
2024-01-03 12:42:13 +02:00
- ESPHOME_DASHBOARD_USE_PING=true
### FOR THE FIRST-TIME ONLY ###
#devices: #
# - /dev/ttyACM0 #
###############################
2021-11-04 05:55:13 +02:00
restart: unless-stopped