/pngr

A reverse-proxy that renders content as PNGs

Primary LanguageJavaScriptMIT LicenseMIT

pngr

Server-side rendering of your webapp, for some reason.

Usage

docker-compose example

services:
  pngr:
    image: jamesrom/pngr
    container_name: pngr
    ports:
      - "80:8081"
    networks:
      - my-network
    environment:
      - LISTEN_PORT=8081                    # optional. default: 8081
      - WIDTH=1920                          # optional. default: 1920
      - HEIGHT=1080                         # optional. default: 1080
      - UPSTREAM_URL=http://my-service:8080 # optional. default: http://0.0.0.0

  my-service:
    image: "example/my-service:latest"
    container_name: my-service
    ports:
      - "8080:8080"
    networks:
      - my-network
    depends_on:
      - pngr

networks:
  my-network:

Features

  • favicon support