All apps · 0 apps
caddy
Docker app from hotio's Repository
Overview
Readme
View on GitHub| Tags | Description | Commit | Last Updated |
|---|---|---|---|
latest release release-0db42da release-2.11.4 release-v2 release-v2.11 release-v2.11.4 | Releases | Modified: meta.json | 2026-07-08 22:08:07 |
Starting the container
cli
docker run --rm \
--name="caddy" \
-p 80:8080 \
-p 443:8443 \
-e PUID=1000 \
-e PGID=1000 \
-e UMASK=002 \
-e TZ="Etc/UTC" \
-e WEBUI_PORTS="8080/tcp,8443/tcp" \ #(3)!
-e CUSTOM_BUILD="" \
-v /<host_folder_config>:/config \
ghcr.io/hotio/caddy
compose
services:
caddy:
container_name: caddy
image: ghcr.io/hotio/caddy
ports:
- "80:8080"
- "443:8443"
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Etc/UTC
- WEBUI_PORTS=8080/tcp,8443/tcp #(3)!
- CUSTOM_BUILD
volumes:
- /<host_folder_config>:/config
!!! info
Included modules: [caddy-dns/cloudflare](https://github.com/caddy-dns/cloudflare), [mholt/caddy-ratelimit](https://github.com/mholt/caddy-ratelimit). The default config only allows access from private ip ranges.
Custom build
If you set the environment variable CUSTOM_BUILD to a file location like for example /config/caddy_linux_amd64_custom, an attempt is made to start Caddy with that binary. The custom build can be obtained from the Caddy download page. This is particularly useful if you need extra modules.
Install Caddy on Unraid in a few clicks.
Find Caddy in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Requirements
Categories
Related apps
Explore more like this
Explore allDetails
ghcr.io/hotio/caddy:latestRuntime arguments
- Web UI
http://[IP]:[PORT:8080]- Network
bridge- Shell
bash- Privileged
- false
- Extra Params
--hostname=caddy.internal --cap-add=NET_ADMIN
Template configuration
Container Port: 8080
- Target
- 8080
- Default
- 8080
Container Port: 8443
- Target
- 8443
- Default
- 8443
Container Path: /config
- Target
- /config
Container Variable: CUSTOM_BUILD
Container Variable: PRIVOXY_ENABLED
- Default
- false|true
Container Variable: UNBOUND_ENABLED
- Default
- false|true
Container Variable: UNBOUND_NAMESERVERS
Container Variable: VPN_ENABLED
- Default
- false|true
Container Variable: VPN_CONF
- Default
- wg0
Container Variable: VPN_PROVIDER
- Default
- generic|proton|pia
Container Variable: VPN_LAN_NETWORK
Container Variable: VPN_LAN_LEAK_ENABLED
- Default
- false|true
Container Variable: VPN_EXPOSE_PORTS_ON_LAN
Container Variable: VPN_AUTO_PORT_FORWARD
- Default
- false
Container Variable: VPN_PORT_REDIRECTS
Container Variable: VPN_HEALTHCHECK_ENABLED
- Default
- false|true
Container Variable: VPN_NAMESERVERS
Container Variable: VPN_PIA_USER
Container Variable: VPN_PIA_PASS
Container Variable: VPN_PIA_PREFERRED_REGION
Container Variable: VPN_PIA_DIP_TOKEN
Container Variable: VPN_PIA_PORT_FORWARD_PERSIST
- Default
- false|true
Container Variable: PUID
- Default
- 99
Container Variable: PGID
- Default
- 100
Container Variable: UMASK
- Default
- 002