Sign inSign up

fentas/thumbor-nginx

By fentas

•Updated almost 11 years ago

thumbor with integrated nginx with access restriction support via env.

Image
0

213

fentas/thumbor-nginx repository overview

⁠thumbor nginx

see https://github.com/APSL/docker-thumbor⁠

⁠Access restriction

docker-compose example

thumbor-upload:
  image: fentas/thumbor-nginx:latest
  stdin_open: true
  tty: true
  restart: always
  environment:
    MIN_WIDTH: 100
    MIN_HEIGHT: 100
    ALLOW_ANIMATED_GIFS: "True"
    STORAGE_EXPIRATION_SECONDS: 7776000 #90 days
    FILE_STORAGE_ROOT_PATH: "/data/storage"
    UPLOAD_MAX_SIZE: 10240 # 10MB
    UPLOAD_ENABLED: "True"
    UPLOAD_PUT_ALLOWED: "True"
    NGINX_RESTRICT: |
      allow 88.198.23.1;
      allow 132.2.54.238;
      allow 132.43.82.54;
      deny all;
  volumes:
    - /data/storage/:/data/storage/:rw

Tag summary

Content type

Image

Digest

sha256:912c02341…

Size

349.9 MB

Last updated

almost 11 years ago

docker pull fentas/thumbor-nginx:master