feat: update image config

This commit is contained in:
evlic 2023-09-13 01:39:32 +08:00
parent 281ab4bd76
commit e0fc78545e
3 changed files with 9 additions and 9 deletions

2
.env
View File

@ -1,4 +1,4 @@
NAME="def" NAME="home-kit"
COMPOSE_PROJECT_NAME=$NAME COMPOSE_PROJECT_NAME=$NAME
TZ=Asia/Shanghai TZ=Asia/Shanghai

1
.gitignore vendored
View File

@ -1 +1,2 @@
*/

View File

@ -1,21 +1,20 @@
version: '3' version: '3'
services: services:
app: homea:
# command: command # command: command
container_name: v2 container_name: ha
image: app:latest image: homeassistant/home-assistant:latest
restart: always restart: always
ports: ports:
- 3111-3222:3111-3222 - 8123:8123
networks: networks:
- local - local
volumes: volumes:
- ${DIR}:/etc/app - ${DIR}/ha/config:/config
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
privileged: true
environment: environment:
APP_ADDRESS: 0.0.0.0:3111 TZ:
networks: networks:
local: local:
name: local name: local