Skip to content

Caddy Reverse Proxy Dockerimage with Ionos DNS Module

Notifications You must be signed in to change notification settings

Glopix/caddy-ionos-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

caddy-ionos-dns

caddyserver/caddy with the Caddy DNS Module for Ionos.

Github Repository / Dockerfile

https://github.com/Glopix/caddy-ionos-dns

Usage

For further information and more detailed instructions on the use of this container/caddy-module, please refer to:
https://github.com/caddyserver/caddy on how to use Caddy and
https://github.com/caddy-dns/ionos on how to use the DNS module.

Docker Compose Example (excluding backend/reverse proxy target)

docker-compose.yml

version: "3.8"

services:
  caddy:
    image: glopix/caddy-ionos-dns
    restart: unless-stopped
    ports:
      - 80:80
      - 443:443
    networks:
      - caddy
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - caddy_data:/data    
      - $PWD/Caddyfile:/etc/caddy/Caddyfile

networks:
  caddy:
    name: caddy
    driver: bridge

# persistant storage for certs etc.
volumes:
  caddy_data:

Caddyfile Example for Ionos DNS

Caddyfile

your.domain.com {
  respond "Hello World"	# replace with whatever config you need...
  tls {
    dns ionos {env.YOUR_IONOS_AUTH_API_TOKEN}
  }
}

About

Caddy Reverse Proxy Dockerimage with Ionos DNS Module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published