Automated backup - 20250715_000001
This commit is contained in:
4
HA/.gitignore
vendored
Normal file
4
HA/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
db_data/
|
||||
config/.storage/
|
||||
*.log
|
||||
.HA_VERSION
|
||||
@@ -6,16 +6,13 @@ services:
|
||||
image: ghcr.io/home-assistant/home-assistant:stable
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /run/dbus:/run/dbus:ro
|
||||
expose:
|
||||
- "8123"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
networks:
|
||||
- caddy-network
|
||||
depends_on:
|
||||
- homeassistant-db
|
||||
|
||||
@@ -34,16 +31,16 @@ services:
|
||||
networks:
|
||||
- caddy-network
|
||||
|
||||
mdns-reflector:
|
||||
container_name: mdns-reflector
|
||||
image: flungo/avahi:latest
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
privileged: true
|
||||
volumes:
|
||||
- /var/run/dbus:/var/run/dbus
|
||||
environment:
|
||||
- AVAHI_REFLECTOR_ENABLE=1
|
||||
# mdns-reflector:
|
||||
# container_name: mdns-reflector
|
||||
# image: flungo/avahi:latest
|
||||
# restart: unless-stopped
|
||||
# network_mode: host
|
||||
# privileged: true
|
||||
# volumes:
|
||||
# - /var/run/dbus:/var/run/dbus
|
||||
# environment:
|
||||
# - AVAHI_REFLECTOR_ENABLE=1
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
|
||||
Reference in New Issue
Block a user