更新 'docker-compose.yml'
This commit is contained in:
parent
600824a630
commit
9621bcc38c
|
@ -1,10 +1,10 @@
|
||||||
version: "2"
|
version: "3"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
op_net:
|
op_net:
|
||||||
driver: macvlan
|
driver: bridge
|
||||||
driver_opts:
|
driver_opts:
|
||||||
parent: ens24s0
|
parent: enp24s0
|
||||||
ipam:
|
ipam:
|
||||||
driver: default
|
driver: default
|
||||||
config:
|
config:
|
||||||
|
@ -17,9 +17,4 @@ services:
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
command: /sbin/init
|
command: /sbin/init
|
||||||
# networks:
|
|
||||||
# op_net:
|
|
||||||
# ipv4_address: 192.168.222.130
|
|
||||||
ports:
|
|
||||||
- "3000:3000"
|
|
||||||
- "22:22"
|
|
||||||
|
|
Loading…
Reference in New Issue