mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-22 07:48:26 +00:00
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.
26 lines
656 B
YAML
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
|