Frappe_docker single server example pdf not working

Hello,

I am using the single server example (with traefik reverse proxy) from frappe_docker. Everything runs smoothly except for the PDF feature, since it can’t resolve the hostname: erp.domain.com. I also exec’d bash in the backend container and did curl -vl erp.domain.com. Got a timeout. I wonder if it’s an issue with the traefik setup since it can’t resolve any public hosts that have been added to the traefik router.

Hello @asif21hasan

Can you share the docker compose file?

:point_right: Don’t forget to redact any sensitive data.

Also, for a possible quick fix, add this for the backend, frontend, scheduler services/containers in the docker compose file:

    dns:
      - 1.1.1.1
      - 1.0.0.1

If the DNS works, then maybe it is better to use your hosting facility DNS servers.

Let us know how it goe.

K

1 Like