Error during parsing: Unsupported DNS provider ‘godaddy’
my Caddyfile is rather simple
numbers.com, www.numbers.com {
root /srv
tls {
dns godaddy
}
}
I passing the Caddy file to a docker container with environment variables
Any suggestions
Error during parsing: Unsupported DNS provider ‘godaddy’
my Caddyfile is rather simple
numbers.com, www.numbers.com {
root /srv
tls {
dns godaddy
}
}
I passing the Caddy file to a docker container with environment variables
Any suggestions
Make sure Caddy is compiled with the tls.dns.godaddy plugin: https://caddyserver.com/docs/tls.dns.godaddy
I figured something like that …
I downloaded the dockerfile and made the change of
ARG plugins=“git,filemanager,cors,realip,expires,cache,godaddy”
to the dockerfile
then tried build on google app engine turns out docker 17.03 ce edition has problems with docker build .
what other ways of getting the plugin installed in the container
I would prefer not having to build my own docker container on Google App engine and use the default containers
if I were able to upgrade docker to 17.05 I might be able to build the Dockerfile
The plugin name is tls.dns.godaddy, not godaddy. Not sure how docker works, though, so someone else will have to help there.
He’s got this one right, actually. @abiosoft’s Caddy builder doesn’t use the prefixing the build server does.
@marties, try as a standalone command: docker build --build-arg plugins=git,filemanager,cors,realip,expires,cache,godaddy github.com/abiosoft/caddy-docker.git -t test-caddy
and see if the new test-caddy
image has your plugin.
For reference, here’s how I use the equivalent in compose v3:
caddy:
build:
context: github.com/abiosoft/caddy-docker.git
args:
- plugins=git,cloudflare,jwt,login,filter
command: ["-log", "stdout", "-agree",
"-email", "letsencrypt@whitestrake.net",
"-conf", "/etc/caddyfile"]
ports:
- 80:80/tcp
- 443:443/tcp
environment:
CLOUDFLARE_EMAIL: [snip]
CLOUDFLARE_API_KEY: [snip]
volumes:
- ./conf/caddy/certs:/root/.caddy
- ./conf/caddy/caddyfile:/etc/caddyfile
- ./conf/caddy/.htpasswd:/etc/.htpasswd
- ./conf/caddy/sites:/srv
Tks Matthew that works perfectly I was trying to build caddy locally as I was hitting that build error of using tls.dns.godaddy
for those that might follow you need to build using docker greater than 17.03
M
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.