Files
fips/examples/wireguard-sidecar-macos/docker-compose.yml
Alex Xie 83b20b3078 gateway: clarify macOS sidecar naming and startup (#67)
Align the macOS example with the repo's existing fips-gateway binary name and override the test image entrypoint so first-run identity generation succeeds.
2026-04-15 07:01:45 +01:00

26 lines
656 B
YAML

services:
wireguard-sidecar:
build: .
image: wireguard-sidecar:latest
container_name: wireguard-sidecar
hostname: wireguard-sidecar
privileged: true
devices:
- /dev/net/tun:/dev/net/tun
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
- net.ipv6.conf.all.forwarding=1
- net.ipv4.ip_forward=1
ports:
- "5354:5354/udp"
- "5354:5354/tcp"
- "2222:22/tcp"
- "51820:51820/udp"
volumes:
- ./fips.yaml:/etc/fips/fips.yaml:ro
- ./identity/fips.key:/etc/fips/fips.key
- ./identity:/etc/fips/identity
environment:
- RUST_LOG=info
restart: unless-stopped