From e0fc78545efe83371b5d44ab1748841aeb530de4 Mon Sep 17 00:00:00 2001 From: evlic Date: Wed, 13 Sep 2023 01:39:32 +0800 Subject: [PATCH] feat: update image config --- .env | 2 +- .gitignore | 1 + docker-compose.yaml | 15 +++++++-------- 3 files changed, 9 insertions(+), 9 deletions(-) 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