mirror of
https://gitlab.com/jarylc/docker-duoauthproxy.git
synced 2026-02-04 16:14:42 +00:00
36 lines
1012 B
Markdown
36 lines
1012 B
Markdown
   
|
|
|
|
# Volumes
|
|
- /app/conf/authproxy.cfg - configuration file (https://duo.com/docs/authproxy_reference)
|
|
|
|
Note: It is recommended to have
|
|
```toml
|
|
[main]
|
|
log_stdout=true
|
|
```
|
|
if you would like Docker to capture logs.
|
|
|
|
# Deploying
|
|
## Terminal
|
|
```bash
|
|
docker run -d \
|
|
--name duoauthproxy \
|
|
-p 1812:1812 \
|
|
-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.
|