https://github.com/fentas/docker-thumbor-nginx
thumbor with nginx
https://github.com/fentas/docker-thumbor-nginx
Last synced: 2 months ago
JSON representation
thumbor with nginx
- Host: GitHub
- URL: https://github.com/fentas/docker-thumbor-nginx
- Owner: fentas
- Created: 2015-11-13T19:01:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-15T00:51:19.000Z (over 9 years ago)
- Last Synced: 2023-08-17T07:11:43.832Z (almost 2 years ago)
- Language: Nginx
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## thumbor nginx
see https://github.com/APSL/docker-thumbor
#### Access restriction
`docker-compose` example
```yml
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: |
satisfy: any;
allow 88.198.23.1;
allow 132.43.82.54;
deny all;
auth_basic "closed site";
auth_basic_user_file htpasswd;
NGINX_HTPASSWD: |
foobar:$apr1$lODy4yH.$bzpAPiUdPYVShoJ602X341
volumes:
- /data/storage/:/data/storage/:rw
```