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