1
0
mirror of https://gitlab.com/jarylc/docker-duoauthproxy.git synced 2026-02-04 18:34:43 +00:00
Files
docker-duoauthproxy/README.md
2024-04-12 09:55:21 +08:00

28 lines
883 B
Markdown

![](https://images.microbadger.com/badges/version/jarylc/duoauthproxy.svg) ![](https://images.microbadger.com/badges/image/jarylc/duoauthproxy.svg) ![](https://img.shields.io/docker/stars/jarylc/duoauthproxy.svg) ![](https://img.shields.io/docker/pulls/jarylc/duoauthproxy.svg)
# Volumes
- /app/conf/authproxy.cfg - configuration file (https://duo.com/docs/authproxy_reference)
# Deploying
## Terminal
```bash
docker run -d \
--name duoauthproxy \
-v /path/to/authproxy.cfg:/app/conf/authproxy.cfg \
--restart unless-stopped \
minimages/duoauthproxy
```
## Docker-compose
```yml
duoauthproxy:
image: minimages/duoauthproxy
ports:
- "1812:1812"
volumes:
- /path/to/authproxy.cfg:/app/conf/authproxy.cfg
restart: unless-stopped
```
## Examples
You can visit the [examples folder in this repository](examples) for example deployments.