This repo compiles an nginx server with radius auth.
Create a conf folder and initialize default vhost and radius server settings. Then mount inside docker container. See docker-compose.yml
RADIUS_SERVER_URL=192.168.1.1:1812
RADIUS_SERVER_SECRET=super-secret
RADIUS_SERVER_AUTH_METHOD=#One of: PAP CHAP MSCHAP MSCHAP2 EAPMD5
I've used this as an auth_request module server: