Initial commit: Infraestructura OgnirNAS estabilizada

This commit is contained in:
2026-01-05 14:28:03 +01:00
commit 368f16c6a5
10 changed files with 297 additions and 0 deletions

11
init-net/docker-compose.yml Executable file
View File

@@ -0,0 +1,11 @@
version: "3.8"
services:
init-net:
image: alpine:latest
container_name: init-macvlan-shim
network_mode: host # CRÍTICO: Para ver las interfaces del NAS
privileged: true # CRÍTICO: Para poder crear interfaces
restart: "no" # Solo queremos que corra al arrancar el motor Docker
volumes:
- /volume1/docker/.bin/macvlan-shim.sh:/script.sh:ro
entrypoint: ["/bin/sh", "-c", "apk add --no-cache iproute2 > /dev/null 2>&1 && /bin/sh /script.sh"]