-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2e95de
commit 4d5fabd
Showing
6 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
hooks/ | ||
platforms.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM caddy:2.6.4-builder AS builder | ||
RUN xcaddy build --with github.com/caddy-dns/ovh | ||
|
||
FROM caddy:2.6.4 | ||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/arm/v7,linux/arm/v6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# caddy-dns-ovh | ||
|
||
[![Docker Pulls](https://img.shields.io/docker/pulls/badouralix/caddy-dns-ovh?label=pulls&logo=docker&logoColor=white)](https://hub.docker.com/r/badouralix/caddy-dns-ovh) | ||
[![Docker Stars](https://img.shields.io/docker/stars/badouralix/caddy-dns-ovh?label=stars&logo=docker&logoColor=white)](https://hub.docker.com/r/badouralix/caddy-dns-ovh) | ||
[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/badouralix/caddy-dns-ovh?logo=docker&logoColor=white)](https://hub.docker.com/r/badouralix/caddy-dns-ovh) | ||
[![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/badouralix/caddy-dns-ovh?label=size&logo=docker&logoColor=white)](https://hub.docker.com/r/badouralix/caddy-dns-ovh) | ||
|
||
This **Dockerfile** builds [`caddy`](https://hub.docker.com/_/caddy) with the [OVH module](https://github.com/caddy-dns/ovh). | ||
|
||
See the repo on [Docker Hub](https://hub.docker.com/r/badouralix/caddy-dns-ovh/). | ||
|
||
## Usage | ||
|
||
See <https://caddyserver.com/docs/json/apps/tls/automation/policies/issuers/acme/challenges/dns/provider/ovh/> for configuration details. | ||
|
||
```bash | ||
docker run \ | ||
--detach \ | ||
--name caddy \ | ||
--label "com.datadoghq.ad.logs"='[{"service": "caddy", "source": "go"}]' | ||
--publish 443:443 \ | ||
--restart always \ | ||
-v caddy-config:/config -v caddy-data:/data -v caddy-etc:/etc/caddy \ | ||
badouralix/caddy-dns-ovh | ||
``` | ||
|
||
## License | ||
|
||
Unless expressly stated otherwise, all contents licensed under the [MIT License](https://github.com/badouralix/dockerfiles/blob/main/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.6.4 |