Skip to content

risul/dockerfile-node-image-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Dockerfile for NodeJS Image server

Installs the Image-Resizer server with all dependencies. This docker image is based on the libvips image created by Marc Bachmann.

Supported tags

How to use

Run it using:

$ docker run -d -p 8090:8080 \
	--name=<YOUR CONTAINER NAME> \
	-e AWS_ACCESS_KEY_ID=<INSERT HERE> \
	-e AWS_SECRET_ACCESS_KEY=<INSERT HERE> \
	-e AWS_REGION=<INSERT HERE> \
	-e S3_BUCKET=<INSERT HERE> \
	-e TWITTER_CONSUMER_KEY=<INSERT HERE> \
	-e TWITTER_CONSUMER_SECRET=<INSERT HERE> \
	-e TWITTER_ACCESS_TOKEN=<INSERT HERE> \
	-e TWITTER_ACCESS_TOKEN_SECRET=<INSERT HERE> \
	-e SOCIAL_IMAGE_EXPIRY=86400 \
	-e IMAGE_EXPIRY=2592000 \
	-e IMAGE_EXPIRY_SHORT=86400 \
	-e JSON_EXPIRY=2592000 \
	risul/node-image-server:latest

More info about the environment variables

License

Licensed under MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published