Builds Container for DUO Authproxy based on latest version.
- Reference: https://duo.com/docs/authproxy-reference#overview
- DUO Release Notes: https://duo.com/docs/authproxy-notes
- Base Image:
debian:stable-slim
,almalinux:minimal
The Container is build weekly with the latest DUO Authproxy version and Container Image updates.
To register your Duo Authenticaton Proxy, create duo_enrollment.key
in your docker compose directory. Add your enrollment key on the first line of that file, from the Duo Admin authentication proxy section.
Create the following directories in your docker compose directory:
./log
./conf
./etc/duoauthproxy
Mount your authproxy.cfg
in /opt/duoauthproxy/conf
otherwise the container fails to start.
For Container logs to work the logging secion in [main]
has to be setup correctly
[main]
# true for debugging, otherwise set to false
debug=true
log_max_files=10
log_max_size=20971520
# has to be true for container logs
log_stdout=true
services:
duo-auth-proxy:
image: oliverl21/duo-auth-proxy
container_name: duo-authproxy
restart: always
volumes:
- ./log:/opt/duoauthproxy/log
- ./conf/authproxy.cfg:/opt/duoauthproxy/conf/authproxy.cfg
- ./etc/duoauthproxy:/etc/duoauthproxy
ports:
- 1812:1812/udp
- 1813:1813/udp
networks:
- duoproxy
secrets:
- duo_enrollment_key
secrets:
duo_enrollment_key:
file: ./duo_enrollment.key
networks:
duoproxy:
The directory structure should look like:
duoproxy/ # Root directory
├── docker-compose.yml # Main Compose file
├── duo_enrollment.key # 🔐 Docker secret (enrollment token)
├── conf/ # Contains authproxy.cfg
│ └── authproxy.cfg
├── log/ # Duo Auth Proxy logs
└── etc/
└── duoauthproxy/ # Location for secret key storage (secrets)
- if DUO fixes the dependencies switch to
alpine:3
as Base image. - publish
aarch64
version - publish image with
alma:minimal