20 lines
545 B
Markdown
20 lines
545 B
Markdown
|
### images/caddy
|
||
|
|
||
|
runs a caddy server!
|
||
|
|
||
|
#### volumes
|
||
|
|
||
|
- /data - stores certificates, ocsp, and most of caddys state
|
||
|
- /config - stores autosave.json
|
||
|
|
||
|
#### environment
|
||
|
|
||
|
using the MODULES environment variables you can configure
|
||
|
extra modules to add to caddy. view the modules [here](https://caddyserver.com/download).
|
||
|
|
||
|
MODULES should be seperated by a space and not include the github.com/ part. (e.g. "caddy-dns/cloudflare aksdb/caddy-cgi/v2")
|
||
|
|
||
|
#### config
|
||
|
|
||
|
the caddy file is run at /etc/caddy/Caddyfile, put a volume at /etc/caddy to modify it.
|