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:
|
||||
|
||||
@@ -28,7 +28,7 @@ silly.will123song.xyz {
|
||||
}
|
||||
|
||||
ha.will123song.xyz, homeassistant.fossa-dinosaur.ts.net {
|
||||
reverse_proxy homeassistant:8123
|
||||
reverse_proxy 192.168.50.92:8123
|
||||
}
|
||||
|
||||
# 本地测试端口
|
||||
|
||||
@@ -35,3 +35,11 @@ deepseek_invite_link=https://discord.com/api/oauth2/authorize?client_id=13868842
|
||||
claude_client_id=1390887125561380946
|
||||
claude_invite_link=https://discord.com/api/oauth2/authorize?client_id=1390887125561380946&permissions=274877908992&scope=bot%20applications.commands
|
||||
|
||||
|
||||
|
||||
|
||||
#Set environment variables to use kimi:
|
||||
```
|
||||
export ANTHROPIC_BASE_URL=https://api.moonshot.ai/anthropic
|
||||
export ANTHROPIC_AUTH_TOKEN=xA6IE4AJTzXQh3MerrlAuriX3jhUDjRW4idMrIWfFteEahPe
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user