精简提交历史记录
This commit is contained in:
2
apps/home-assistant/latest/.env.sample
Normal file
2
apps/home-assistant/latest/.env.sample
Normal file
@@ -0,0 +1,2 @@
|
||||
CONTAINER_NAME="homeassistant"
|
||||
DATA_PATH="./data"
|
||||
10
apps/home-assistant/latest/data.yml
Normal file
10
apps/home-assistant/latest/data.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
13
apps/home-assistant/latest/docker-compose.yml
Normal file
13
apps/home-assistant/latest/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: '3'
|
||||
services:
|
||||
homeassistant:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/config"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: homeassistant/home-assistant:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
Reference in New Issue
Block a user