zdeneksvarc / postal-tls

TLS add-on for the Postal mail delivery platform (HTTPS, StartTLS, implicit TLS)
5 stars 3 forks source link

Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /opt/postal-tls/caddy-data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.dom/mail.dom.crt #3

Open mucktobrak opened 1 year ago

mucktobrak commented 1 year ago

docker compose up -d when i do this i get this error.

Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /opt/postal-tls/caddy-data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.dom/mail.dom.crt

sinnbeck commented 1 year ago

Did you follow the guide? There are 8 steps before this one. What directory are you running docker compose up -d inside?

zdeneksvarc commented 1 year ago

As @sinnbeck wrote, if all the steps are followed, Caddy will generate the certificates to the path mentioned. If this problem persists after proper installation, please @mucktobrak open a new issue with more information attached.

mucktobrak commented 1 year ago

i did everything but i still get the same error @zdeneksvarc

zdeneksvarc commented 1 year ago

Ok and is /opt/postal-tls/caddy-data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.dom/mail.dom.crtexisting? If not what does the caddy log say?