This commit is contained in:
chinky 2022-07-30 17:55:12 +08:00
commit 37c6528b32

25
docker-compose.yaml Normal file
View File

@ -0,0 +1,25 @@
version: "2"
networks:
op_net:
driver: macvlan
driver_opts:
parent: ens24s0
ipam:
driver: default
config:
- subnet: 192.168.222.0/23
gateway: 192.168.222.254
services:
openwrt:
image: sulinggg/openwrt:x86_64
privileged: true
restart: always
command: /sbin/init
# networks:
# op_net:
# ipv4_address: 192.168.222.130
ports:
- "3000:3000"
- "22:22"