Docker files
This commit is contained in:
15
docker-compose.yaml
Normal file
15
docker-compose.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '3'
|
||||
services:
|
||||
homeassistant:
|
||||
container_name: home-assistant
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- /volumes/homeassistant_config:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
devices:
|
||||
- /dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0
|
||||
restart: always
|
||||
ports:
|
||||
- "8123:8123"
|
||||
Reference in New Issue
Block a user