expose homeassistant on macvlan + publish HA and forgejo HTTP ports
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a0272c2c10
commit
c2279a5785
1 changed files with 6 additions and 1 deletions
|
|
@ -18,8 +18,12 @@ services:
|
||||||
image: homeassistant/home-assistant:2024.5.4
|
image: homeassistant/home-assistant:2024.5.4
|
||||||
container_name: homeassistant
|
container_name: homeassistant
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "8123:8123"
|
||||||
networks:
|
networks:
|
||||||
- internal
|
internal:
|
||||||
|
macvlan_lan:
|
||||||
|
ipv4_address: 192.168.1.246
|
||||||
depends_on:
|
depends_on:
|
||||||
- duckdns
|
- duckdns
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -39,6 +43,7 @@ services:
|
||||||
hostname: forgejo
|
hostname: forgejo
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
- "2222:22"
|
- "2222:22"
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue