~添加docker compose支持

This commit is contained in:
juewuy
2025-12-19 19:57:29 +08:00
parent 50213b9364
commit a07e5f6e15
3 changed files with 73 additions and 11 deletions

View File

@@ -21,4 +21,11 @@ services:
networks:
macvlan_lan:
external: true
name: macvlan_lan
driver: macvlan
driver_opts:
parent: eth0
ipam:
config:
- subnet: 192.168.31.0/24
gateway: 192.168.31.1