Files
Nexus-Guard-Suite/docker-compose.dev.yml
T
datadunia 31707cfaef
NexusGuard CI / server-core-test (push) Failing after 27s
NexusGuard CI / device-agent-test (push) Failing after 28s
NexusGuard CI / dashboard-ui-build (push) Failing after 41s
feat: server-core → network_mode host for direct WireGuard routing
- docker-compose.yml: server-core uses host network (no bridge isolation)
- docker-compose.yml: postgres/redis expose ports on 127.0.0.1 only
- docker-compose.dev.yml: also uses host network
- WireGuard now runs on host network stack (wg show works on host)
- nftables rules apply directly to host (proper peer isolation)
2026-05-28 13:31:24 +07:00

12 lines
307 B
YAML

services:
server-core:
build:
context: ./apps/server-core
dockerfile: Dockerfile
target: builder
command: ["sh", "-c", "go install github.com/air-verse/air@latest && air"]
volumes:
- ./apps/server-core:/app
network_mode: host
environment:
- GIN_MODE=debug