feat: add Home Assistant service and host access network

This commit is contained in:
lingkai5wu committed 2026-09-14 22:10:28 +08:00
1 parent 9fd39c2c77
commit 18ecbb37c5
2 files changed
+37 -1

No files matched your search

+15 -1
View File
@@ -14,7 +14,11 @@ services:
- "192.168.10.101:443:443"
- "[::]:18443:443"
networks:
- proxy
proxy:
host-access:
ipv4_address: 172.31.255.2
extra_hosts:
- "host.internal:172.31.255.1"
restart: unless-stopped
deploy:
resources:
@@ -47,3 +51,13 @@ services:
networks:
proxy:
external: true
host-access:
name: host-access
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-host-access
internal: true
ipam:
config:
- subnet: 172.31.255.0/29
gateway: 172.31.255.1