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
|
COMPOSE_PROJECT_NAME=$NAME
|
||||||
TZ=Asia/Shanghai
|
TZ=Asia/Shanghai
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
|
|
||||||
|
*/
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user