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
|
image: ghcr.io/home-assistant/home-assistant:stable
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
privileged: true
|
privileged: true
|
||||||
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /run/dbus:/run/dbus:ro
|
- /run/dbus:/run/dbus:ro
|
||||||
expose:
|
|
||||||
- "8123"
|
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
networks:
|
|
||||||
- caddy-network
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- homeassistant-db
|
- homeassistant-db
|
||||||
|
|
||||||
@@ -34,16 +31,16 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- caddy-network
|
- caddy-network
|
||||||
|
|
||||||
mdns-reflector:
|
# mdns-reflector:
|
||||||
container_name: mdns-reflector
|
# container_name: mdns-reflector
|
||||||
image: flungo/avahi:latest
|
# image: flungo/avahi:latest
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
network_mode: host
|
# network_mode: host
|
||||||
privileged: true
|
# privileged: true
|
||||||
volumes:
|
# volumes:
|
||||||
- /var/run/dbus:/var/run/dbus
|
# - /var/run/dbus:/var/run/dbus
|
||||||
environment:
|
# environment:
|
||||||
- AVAHI_REFLECTOR_ENABLE=1
|
# - AVAHI_REFLECTOR_ENABLE=1
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
db_data:
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ silly.will123song.xyz {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ha.will123song.xyz, homeassistant.fossa-dinosaur.ts.net {
|
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_client_id=1390887125561380946
|
||||||
claude_invite_link=https://discord.com/api/oauth2/authorize?client_id=1390887125561380946&permissions=274877908992&scope=bot%20applications.commands
|
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