Skip to content

Commit

Permalink
[caddy-dns-ovh] commit for a dream
Browse files Browse the repository at this point in the history
  • Loading branch information
badouralix committed Jul 31, 2023
1 parent f2e95de commit 4d5fabd
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ See the repo on [Docker Hub](https://hub.docker.com/u/badouralix/).

## Current dockerfiles

- [*caddy-dns-ovh*](https://hub.docker.com/r/badouralix/caddy-dns-ovh) - caddy built with the OVH module \
[![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)

- [*curl-http2*](https://hub.docker.com/r/badouralix/curl-http2) - alpine-based docker image for curl with http2 support \
[![Docker Pulls](https://img.shields.io/docker/pulls/badouralix/curl-http2?label=pulls&logo=docker&logoColor=white)](https://hub.docker.com/r/badouralix/curl-http2)
[![Docker Stars](https://img.shields.io/docker/stars/badouralix/curl-http2?label=stars&logo=docker&logoColor=white)](https://hub.docker.com/r/badouralix/curl-http2)
Expand Down
2 changes: 2 additions & 0 deletions caddy-dns-ovh/2.6.4/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
hooks/
platforms.txt
5 changes: 5 additions & 0 deletions caddy-dns-ovh/2.6.4/Dockerfile
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
1 change: 1 addition & 0 deletions caddy-dns-ovh/2.6.4/platforms.txt
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
29 changes: 29 additions & 0 deletions caddy-dns-ovh/README.md
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).
1 change: 1 addition & 0 deletions caddy-dns-ovh/latest

0 comments on commit 4d5fabd

Please sign in to comment.