fix: update Docker Compose configuration for RouterOS service

This commit is contained in:
Alexander Tebeiv 2026-06-21 17:26:56 +02:00
parent 1023560c35
commit 4342800b4f

View file

@ -13,7 +13,7 @@ services:
ports: ports:
- '8025:8025' # Web UI - '8025:8025' # Web UI
networks: networks:
- network1 - default
routeros: routeros:
# https://github.com/EvilFreelancer/docker-routeros # https://github.com/EvilFreelancer/docker-routeros
@ -25,7 +25,6 @@ services:
depends_on: depends_on:
mailpit: mailpit:
condition: service_healthy condition: service_healthy
#entrypoint: ["/routeros/entrypoint_with_four_interfaces.sh"]
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
devices: devices:
@ -38,10 +37,11 @@ services:
- "18728:8728" - "18728:8728"
- "18729:8729" - "18729:8729"
- "18291:8291" - "18291:8291"
# The image keeps eth0 for QEMU host forwarding and bridges eth1 into CHR.
networks: networks:
default: default:
interface_name: eth0 interface_name: eth0
network1: routeros-lan:
interface_name: eth1 interface_name: eth1
routeros-init: routeros-init:
@ -56,5 +56,5 @@ services:
networks: networks:
network1: routeros-lan:
driver: bridge driver: bridge