指定IP成功
This commit is contained in:
parent
53a1faeb13
commit
6cd17de68b
|
@ -3,10 +3,13 @@ version: "2"
|
|||
networks:
|
||||
gitea_net:
|
||||
driver: macvlan
|
||||
driver_opts:
|
||||
parent: ens18
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 192.168.222.0/23
|
||||
# gateway: 192.168.222.254
|
||||
gateway: 192.168.222.254
|
||||
|
||||
services:
|
||||
gitea:
|
||||
|
|
Loading…
Reference in New Issue