Custom error pages for traefik.
10K+
This is a simple Flask container hosting custom error pages. It is based on the latest alpine image to be as small as possible.
The image is intended to be used with Traefik to server the same error page for all services.
The error page design has been written by Saleh Riaz and may be found in its original on their website.
Note: This image has been designed with my personal needs in mind!
When running this image, it is important to configure Traefik accordingly. The compose.sample.yml in the Git repository shows a working configuration that:
error-pagesserve-pretty-errors that uses the error-pages service to supply pretty errors for all HTTP error codes, except 401This configuration assumes an independent redirection of any HTTP call to HTTPS. If this is not the case in your setup, you will have to register another catch-all rule.
This container will by default run as non-root user flask. As a consequence, you may not use ports below 1024 for $APP_PORT (default is 5000)
Content type
Image
Digest
sha256:b875b8d10…
Size
28.1 MB
Last updated
4 days ago
docker pull ttrafelet/traefik_error_pages