binhex-caddy-duckdns

binhex-caddy-duckdns

Docker 应用程序 from Binhex's Repository

概述

Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go. This image includes the DuckDNS DNS challenge plugin, enabling automatic TLS certificate issuance and renewal via Let's Encrypt for DuckDNS hostnames without requiring port 80 to be open. Ideal for use as a reverse proxy on a home network.

要求

Caddyfile
Place your Caddyfile at '/config/caddy/Caddyfile'.

运行时参数

网络用户界面
http://[IP]:[PORT:8080]
网络
bridge
外壳
bash
特权
false
额外参数
--restart=unless-stopped

模板配置

Port: HTTPSPorttcp

The HTTPS port Caddy listens on. Must match https_port in your Caddyfile.

目标
8443
默认值
8443
Port: HTTPPorttcp

The HTTP port Caddy listens on (used for redirects). Must match http_port in your Caddyfile.

目标
8080
默认值
8080
Port: AdminPorttcp

The admin edpoint port for Caddy.

目标
2019
默认值
2019
Path: /configPathrw

This is the container path to your Caddy configuration file (Caddyfile) and logs.

目标
/config
默认值
/mnt/user/appdata/caddy-duckdns
Variable: DUCKDNS_TOKENVariable

Duck DNS token for automatic TLS certificate issuance and renewal, sign into Duck DNS to view your token.

目标
DUCKDNS_TOKEN
Variable: ENABLE_HEALTHCHECKVariable

Enable or disable healthchecks.

目标
ENABLE_HEALTHCHECK
默认值
yes|no
Variable: HEALTHCHECK_COMMANDVariable

The command or script to execute, if not specified then the script healthcheck.sh will be used (process, dns and https checking).

目标
HEALTHCHECK_COMMAND
Variable: HEALTHCHECK_ACTIONVariable

The action to execute if the healthcheck command returns a non zero exit code, if not specified the action will be 'exit 1', if you want the container to exit on failure then set the action to 'kill 1'.

目标
HEALTHCHECK_ACTION
Variable: HEALTHCHECK_HOSTNAMEVariable

The hostname used when performing HTTPS and DNS healthchecking.

目标
HEALTHCHECK_HOSTNAME
默认值
google.com
Variable: PUIDVariable

User ID for the running container

目标
PUID
默认值
99
Variable: PGIDVariable

Group ID for the running container

目标
PGID
默认值
100
Variable: UMASKVariable

UMASK for the running container

目标
UMASK
默认值
000

下载统计数据

306
下载总数

详细信息

存储库
ghcr.io/binhex/arch-caddy-duckdns
最后更新2026-04-10
初见2026-04-09

在Unraid 上运行 binhex-caddy-duckdns 。

binhex-caddy-duckdns 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。