Thumbor6 with upload and download image by Mongo GridFS
Base from https://github.com/APSL/docker-thumbor
Thumbor code https://github.com/thumbor/thumbor
MongoDB https://www.mongodb.com/download-center
pull by docker pull lionants02/thumbormongodocker:1.0
MONGO_STORAGE_SERVER_HOST = localhost #host MongoDB
ENV MONGO_STORAGE_SERVER_PORT = 27017 #27017 is default port
ENV MONGO_STORAGE_SERVER_DB = picture #database name autocreate
ENV MONGO_STORAGE_SERVER_COLLECTION = files #collection autocreate
ENV UPLOAD_ENABLED = True #enable upload
ENV UPLOAD_PUT_ALLOWED = True #enable put update file
UPLOAD_DELETE_ALLOWED = True #enable delete file
Test get image by http:///unsafe/smart/1c6d2372252f4e18a54112a589017441
1c6d2372252f4e18a54112a589017441
is file parth
Read: https://github.com/lionants02/thumbor_mongodb/tree/Workwith_tc_mongodb
GitHub https://github.com/lionants02/ThumborMongoDocker
Docker: https://hub.docker.com/r/lionants02/thumbormongodocker/