diff --git a/.env b/.env index 1d81bba..b4d8653 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -NAME="def" +NAME="home-kit" COMPOSE_PROJECT_NAME=$NAME TZ=Asia/Shanghai diff --git a/.gitignore b/.gitignore index 8b13789..9f82b4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +*/ \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index b68b7a2..a2e96ba 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,21 +1,20 @@ version: '3' services: - app: + homea: # command: command - container_name: v2 - image: app:latest + container_name: ha + image: homeassistant/home-assistant:latest restart: always ports: - - 3111-3222:3111-3222 + - 8123:8123 networks: - local volumes: - - ${DIR}:/etc/app + - ${DIR}/ha/config:/config - /etc/localtime:/etc/localtime:ro - + privileged: true environment: - APP_ADDRESS: 0.0.0.0:3111 - + TZ: networks: local: name: local