31707cfaef
- 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)
12 lines
307 B
YAML
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 |