openwrt/docker-compose.yml

24 lines
405 B
YAML

version: "3"
networks:
op_net:
driver: macvlan
driver_opts:
parent: enp24s0
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.249