generated from docker/tmpl
feat: update image config
This commit is contained in:
parent
281ab4bd76
commit
e0fc78545e
2
.env
2
.env
@ -1,4 +1,4 @@
|
||||
NAME="def"
|
||||
NAME="home-kit"
|
||||
|
||||
COMPOSE_PROJECT_NAME=$NAME
|
||||
TZ=Asia/Shanghai
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
|
||||
*/
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user